Mju-feed
Tables (17)
Answer (답변)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 내용 (content) — varchar
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 리뷰 식별자 (review_id) — bigint — Foreign key → Review.식별자 — NOT NULL
- 질문 식별자 (question_id) — bigint — Foreign key → Question.식별자 — NOT NULL
Choice (답)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 내용 (content) — varcahr
- 퀴즈 식별자 (quiz_id) — bigint — Foreign key → Quiz.식별자 — NOT NULL
Meal (식단)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 날짜 (date_i nfo) — datetime
- 유형 (meal_type) — ENUM
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
MealMenu (중간테이블)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 식단 식별자 (meal_id) — bigint — Foreign key → Meal.식별자 — NOT NULL
- 메뉴 식별자 (menu_id) — bigint — Foreign key → Menu.식별자 — NOT NULL
Menu (메뉴)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 이름 (name) — varchar
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
MenuPreference (메뉴선호도)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 카운트 (count) — int
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 메뉴 식별자 (menu_id) — bigint — Foreign key → Menu.식별자 — NOT NULL
MenuPreferenceComment (선호메뉴답변)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 답변 (comment) — varchar
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 메뉴 식별자 (menu_id) — bigint — Foreign key → Menu.식별자 — NOT NULL
PredictingRating (예측 점수)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 예측점수 (predict_rating) — decimal
- 실제점수 (actual_rating) — decimal
- 식단일자 (meal_date) — varchar
- 유저식별자 (user_id) — bigint — Foreign key → User.식별자 — NOT NULL
Question (질문)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 내용 (content) — varchar
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 메뉴 식별자 (menu_id) — bigint — Foreign key → Menu.식별자 — NOT NULL
Quiz (퀴즈)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 질문 (question) — varchar
- 정답번호 (correctChoicedId) — Long
Rating (별점)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 별점 (rating) — decimal
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 리뷰 식별자 (review_id) — bigint — Foreign key → Review.식별자 — NOT NULL
- 메뉴 식별자 (menu_id) — bigint — Foreign key → Menu.식별자 — NOT NULL
Review (리뷰)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 전체리뷰 (overall_review) — varchar
- 자유리뷰 (free_opinion) — varchar
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 식단 식별자 (meal_id) — bigint — Foreign key → Meal.식별자 — NOT NULL
ReviewToken (리뷰토큰)
- 식별자 (token) — varchar — Primary key — NOT NULL
Store (맛집)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 이름 (name) — varchar
- 이미지 (image) — varchar
- 설명 (description) — varchar
- 주소 (url) — varchar
- 맛집유형 (storeType) — ENUM
User (사용자)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 번호 (phone_number) — varchar
- 포인트 (point) — decimal
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
UserPointLog (사용자포인트로그)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 포인트종류 (point_type) — Enum
- 포인트 (point) — decimal
- 생성일자 (created_at) — datetime
- 수정일자 (updated_at) — datetime
- 사용자 식별자 (user_id) — bigint — Foreign key → User.식별자 — NOT NULL
WantMenu (관리자선호메뉴)
- 식별자 (id) — bigint — Primary key — NOT NULL
- 이름 (name) — varchar