reservation
Tables (6)
MemberDetails (멤버)
- 아이디 (id) — long — Primary key — NOT NULL
- 멤버아이디 (member_id) — String — Primary key — NOT NULL
- 비밀번호 (password) — String
- 역할 (role) — Enum
PartnerEntity (파트너사)
- 아이디 (id) — long — Primary key — NOT NULL
- 파트너아이디 (partner_id) — String — Foreign key → MemberDetails.멤버아이디 — NOT NULL
- 파트너명 (parner_name) — String
- 사업자번호 (business_id) — String
- 핸드폰번호 (phone_number) — String
- 등록일시 (registered_at) — LocalDateTime
ReservationEntity (예약)
- 아이디 (id) — long — Primary key — NOT NULL
- 예약아이디 (reservation_id) — String — Primary key — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → UserEntity.아이디 — NOT NULL
- 매장아이디 (store_id) — String — Foreign key → StoreEntity.매장아이디 — NOT NULL
- 예약상태 (reservation_status) — Enum
- 예약시간 (reservation_time) — LocalDateTime
- 생성시간 (created_at) — LocalDateTime
- 수정시간 (updated_at) — LocalDateTime
Review (리뷰)
- 아이디 (id) — long — Primary key — NOT NULL
- 예약아이디 (reservation_id) — String — Foreign key → ReservationEntity.아이디 — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → ReservationEntity.예약아이디 — NOT NULL
- 매장아이디 (store_id) — String — Foreign key → ReservationEntity.매장아이디 — NOT NULL
- 리뷰아이디 (review_Id) — String
- 평점 (rating) — double
- 리뷰내용 (review_contents) — String
- 리뷰상태 (review_status) — Enum
- 생성시간 (created_at) — LocalDateTime
- 수정시간 (updated_at) — LocalDateTime
StoreEntity (매장)
- 아이디 (id) — long — Primary key — NOT NULL
- 매장아이디 (store_id) — String — Primary key — NOT NULL
- 파트너아이디 (partner_id) — String — Foreign key → PartnerEntity.파트너아이디 — NOT NULL
- 매장주소 (address) — String
- 매장설명 (store_comment) — String
- 평점 (rating) — double
- 등록일시 (registered_at) — LocalDateTime — NOT NULL
UserEntity (유저)
- 아이디 (id) — long — Primary key — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → MemberDetails.멤버아이디 — NOT NULL
- 유저명 (user_name) — String
- 핸드폰번호 (phone_number) — long
- 등록일시 (registered_at) — LocalDateTime