-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Feat/#22 nana pick
- Loading branch information
Showing
5 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/com/jeju/nanaland/domain/nana/entity/InfoType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.jeju.nanaland.domain.nana.entity; | ||
|
||
public enum InfoType { | ||
ADDRESS("주소"), | ||
PARKING("주차"), | ||
SPECIAL("스페셜"), | ||
AMENITY("편의시설"), | ||
WEBSITE("홈페이지"), | ||
RESERVATION_LINK("예약링크"), | ||
AGE("이용연령"), | ||
TIME("이용시간"), | ||
FEE("이용요금"), | ||
DATE("이용날짜"), | ||
DESCRIPTION("소개"); | ||
|
||
|
||
private final String description; | ||
|
||
InfoType(String description) { | ||
this.description = description; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/com/jeju/nanaland/domain/nana/entity/NanaAdditionalInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.jeju.nanaland.domain.nana.entity; | ||
|
||
import com.jeju.nanaland.domain.common.entity.BaseEntity; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@Entity | ||
@NoArgsConstructor | ||
public class NanaAdditionalInfo extends BaseEntity { | ||
|
||
@Enumerated(EnumType.STRING) | ||
private InfoType infoType; | ||
|
||
private String description; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters