향모아
테이블 (15)
노트 (Note)
- note_id (Key) — BigInt — 기본 키 — NOT NULL
- title (Field) — String
답변 (Answer)
- answer_id (Key) — BigInt — 기본 키 — NOT NULL
- content (Field) — String
- question_id (Key2) — BigInt — 외래 키 → 질문.question_id — NOT NULL
답변향료 (AnswerNote)
- answer_id (Key2) — BigInt — 외래 키 → 답변.answer_id — NOT NULL
- note_id (Key3) — BigInt — 외래 키 → 노트.note_id — NOT NULL
멤버 (Member)
- member_id (Key) — BigInt — 기본 키 — NOT NULL
멤버 답변 (MemberAnswer)
- answer_id (Key) — BigInt — 외래 키 → 답변.answer_id — NOT NULL
- member_id (Key2) — BigInt — 외래 키 → 멤버.member_id — NOT NULL
멤버주소 (MemberAddress)
- member_address_id (Key) — BigInt — 기본 키 — NOT NULL
- member_id (Key2) — BigInt — 외래 키 → 멤버.member_id — NOT NULL
- address (Field) — BigInt
- phone_number (Field2) — String
- title (Field3) — String
설문지 (Survey)
- survey_id (Key) — BigInt — 기본 키 — NOT NULL
- title (Field) — String
- type (Field2) — String
세부향료 (DetailNote)
- detail_note_id (Key) — BigInt — 기본 키 — NOT NULL
- title (Field) — String
- content (Field2) — String
주문 (Order)
- order_id (Key) — BigInt — 기본 키 — NOT NULL
- note_product_id (Key3) — BigInt — 외래 키 → 향료상품.note_product_id — NOT NULL
- note_id (Key23) — BigInt — 외래 키 → 향료상품.note_id — NOT NULL
- member_id (Key2) — BigInt — 외래 키 → 멤버.member_id — NOT NULL
- total_price (Field) — int
- order_status (Field2) — OrderStatus
질문 (Question)
- question_id (Key) — BigInt — 기본 키 — NOT NULL
- content (Field) — String
- survey_id (Key2) — BigInt — 외래 키 → 설문지.survey_id — NOT NULL
향BTI 후기 (HbtiReview)
- hbti_review_id (Key) — BigInt — 기본 키 — NOT NULL
- member_id (Field) — BigInt
- order_id (Field2) — BigInt
- content (Field3) — String
- heart_count (Field4) — Int
향BTI 후기 좋아요 (HbtiReviewHeart)
- hbti_review_heart_id (Key) — BigInt — 기본 키 — NOT NULL
- hbti_review_id (Field) — BigInt
- member_id (Field2) — BigInt
- hbti_review_id (Key2) — BigInt — 외래 키 → 향BTI 후기.hbti_review_id — NOT NULL
향료 추천 (SpiceRecommend)
- spice_recommend_id (Key) — BigInt — 기본 키 — NOT NULL
- first (Field) — String
- second (Field2) — String
- third (Field3) — String
- member_id (Key2) — BigInt — 외래 키 → 멤버.member_id — NOT NULL
향료상품 (NoteProduct)
- note_product_id (Key) — BigInt — 기본 키 — NOT NULL
- note_id (Key2) — BigInt — 외래 키 → 노트.note_id — NOT NULL
- price (Field) — int
- sell_status (Field2) — Boolean
향료세부향료 (NoteDetailNote)
- note_detail_note_id (Key) — BigInt — 기본 키 — NOT NULL
- note_id (Key2) — BigInt — 외래 키 → 노트.note_id — NOT NULL
- detail_note_id (Key3) — BigInt — 외래 키 → 세부향료.detail_note_id — NOT NULL