1주차 미션
테이블 (9)
BaseEntity (Untitled)
- created_at (Field) — datetime
- updated_at (Field2) — datetime
mission_status_enum (Enum)
- PROGRESS (진행중)
- COMPLETE (진행완료)
리뷰 (Review)
- review_id (Key) — bigint — 기본 키 — NOT NULL
- member_id (Key2) — bigint — 외래 키 → 회원.member_id — NOT NULL
- restraunt_id (Key3) — bigint — 외래 키 → 식당.restraunt_id — NOT NULL
- text (리뷰내용) — string
- rating (별점) — double
- image_url (리뷰사진) — string
문의 (Ask)
- ask_id (Key) — bigint — 기본 키 — NOT NULL
- member_id (Key2) — bigint — 외래 키 → 회원.member_id — NOT NULL
- text (문의내용) — string
- title (문의제목) — string
- image_url (문의첨부사진) — string
미션 (Mission)
- mission_id (Key) — bigint — 기본 키 — NOT NULL
- restraunt_id (Key2) — bigint — 외래 키 → 식당.restraunt_id — NOT NULL
- text (미션내용) — string
- reward (리워드) — int
미션상태 (member_mission)
- member_mission_id (Key) — 기본 키 — NOT NULL
- member_id (Key2) — 외래 키 → 회원.member_id — NOT NULL
- mission_id (Key3) — 외래 키 → 미션.mission_id — NOT NULL
- mission_status (미션상태) — enum
식당 (Restraunt)
- restraunt_id (Key) — bigint — 기본 키 — NOT NULL
- name (식당이름) — string
- position (위치) — point
- address (주소) — string
- image_url (식당사진) — string
음식종류 (food)
- food_id (Key) — 기본 키 — NOT NULL
- member_id (Key2) — bigint — 외래 키 → 회원.member_id — NOT NULL
- restraunt_id (Key3) — bigint — 외래 키 → 식당.restraunt_id — NOT NULL
- name (음식종류) — string
회원 (Member)
- member_id (Key) — bigint — 기본 키 — NOT NULL
- name (이름) — string
- gender (성별) — boolean
- birth (생년월일) — datetime
- address (주소) — string
- email (이메일) — string
- point (포인트 점수) — int
- nickname (닉네임) — string
- authorized (휴대폰 인증 여부) — boolean
- phonenum (휴대폰 번호) — string
- is_deleted (탈퇴) — boolean