-
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.
Merge pull request #105 from modu-menu/feat/update-search
Food 테이블 변경 및 엔티티 반영, etc
- Loading branch information
Showing
13 changed files
with
345 additions
and
299 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,51 @@ | ||
package modu.menu.food.domain; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum FoodType { | ||
|
||
KOREAN_FOOD("한식", "한식"), | ||
KOREAN_SEAFOOD("한식", "해물,생선"), | ||
CONGEE("한식", "죽"), | ||
JOKBAL("한식", "족발, 보쌈"), | ||
HOT_POP("한식", "찌개,전골"), | ||
MEAT("한식", "육류,고기"), | ||
SUNDAE("한식", "순대"), | ||
STREET_FOOD("한식", "분식"), | ||
NOODLE("한식", "면"), | ||
LUNCH_BOX("한식", "도시락"), | ||
KOREAN_CHICKEN("한식", "닭요리"), | ||
INTESTINE("한식", "곱창,막창"), | ||
TEPPAN_YAKI("한식", "철판요리"), | ||
JAPANESE_FOOD("일식", "일식"), | ||
CHINESE_FOOD("중식", "중식"), | ||
WESTERN_FOOD("양식", "양식"), | ||
HAMBURGER("양식", "햄버거"), | ||
WESTERN_SEAFOOD("양식", "해산물"), | ||
PIZZA("양식", "피자"), | ||
FRENCH_FOOD("양식", "프랑스음식"), | ||
FAST_FOOD("양식", "패스트푸드"), | ||
FAMILY_RESTAURANT("양식", "패밀리레스토랑"), | ||
CHICKEN("양식", "치킨"), | ||
ITALIAN_FOOD("양식", "이탈리안"), | ||
SPANISH_FOOD("양식", "스페인"), | ||
SALAD("양식", "샐러드"), | ||
LATIN("양식", "멕시칸,브라질"), | ||
ASIAN_FOOD("아시아음식", "아시아음식"), | ||
BAR("술집", "술집"), | ||
BUFFET("뷔페", "뷔페"), | ||
DESSERT("디저트", "디저트"); | ||
// 한식 | ||
KOREAN_FOOD("한식"), | ||
KOREAN_SEAFOOD("해물,생선"), | ||
CONGEE("죽"), | ||
JOKBAL("족발, 보쌈"), | ||
HOT_POP("찌개,전골"), | ||
MEAT("육류,고기"), | ||
SUNDAE("순대"), | ||
STREET_FOOD("분식"), | ||
NOODLE("면"), | ||
LUNCH_BOX("도시락"), | ||
KOREAN_CHICKEN("닭요리"), | ||
INTESTINE("곱창,막창"), | ||
TEPPAN_YAKI("철판요리"), | ||
|
||
private final String title; | ||
private final String detail; | ||
// 일식, 중식 | ||
JAPANESE_FOOD("일식"), | ||
CHINESE_FOOD("중식"), | ||
|
||
// 양식 | ||
WESTERN_FOOD("양식"), | ||
HAMBURGER("햄버거"), | ||
WESTERN_SEAFOOD("해산물"), | ||
PIZZA("피자"), | ||
FRENCH_FOOD("프랑스음식"), | ||
FAST_FOOD("패스트푸드"), | ||
FAMILY_RESTAURANT("패밀리레스토랑"), | ||
CHICKEN("치킨"), | ||
ITALIAN_FOOD("이탈리안"), | ||
SPANISH_FOOD("스페인"), | ||
SALAD("샐러드"), | ||
LATIN("멕시칸,브라질"), | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
// 기타 | ||
ASIAN_FOOD("아시아음식"), | ||
BAR("술집"), | ||
BUFFET("뷔페"), | ||
DESSERT("디저트"); | ||
|
||
private final String title; | ||
|
||
@JsonValue | ||
public String getDetail() { | ||
return detail; | ||
} | ||
} |
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
Oops, something went wrong.