sopt-naver-reservation
Tables (3)
Reservation (예약)
- reservationId (예약번호) — int — Primary key — NOT NULL
- userId (사용자 아이디) — int — Foreign key → User.userId — NOT NULL
- storeId (가게 아이디) — int — Foreign key → Store.storeId — NOT NULL
- content (리뷰내용) — VARCH(100)
- mainDescription (주요설명) — VARCH(20) — NOT NULL — EX) 지나 수석 디자이너
- subDescription (보조설명) — VARCH(100) — NOT NULL — EX) 1명, P 컷, 고객님 방문전 꼭 읽어주세요 !
- price (가격) — int
- Field (카테고리) — int
- review (리뷰작성유/무) — boolean — NOT NULL
- starMark (별표 on/off) — boolean — NOT NULL
- createdAt (생성일자) — DATETIME — NOT NULL
- updatedAt (수정일자) — DATETIME — NOT NULL
Store (가게)
- storeId (가게 아이디) — int — Primary key — NOT NULL
- storeName (가게 이름) — VARCH(20) — NOT NULL
- createAt (생성일자) — DATETIME — NOT NULL
- updatedAt (수정일자) — DATETIME — NOT NULL
User (사용자)
- userId (사용자 아이디) — int — Primary key — NOT NULL
- userName (사용자 이름) — VARCH(20) — NOT NULL
- createdAt (생성일자) — DATETIME — NOT NULL
- updatedAt (수정일자) — DATETIME — NOT NULL