store
테이블 (5)
고객 (customer)
- customer_no (Key) — LONG — 기본 키 — NOT NULL
- customer_id (Field) — VARCHAR(20)
- password (Field2) — VARCHAR(30)
- partner (Field3) — BOOLEAN
리뷰 (review)
- review_no (Key4) — LONG — 기본 키 — NOT NULL
- customer_no (Key) — LONG — 외래 키 → 고객.customer_no — NOT NULL
- store_no (Key2) — LONG — 외래 키 → 상점 정보.store_no — NOT NULL
- owner_no (Key3) — LONG — 외래 키 → 상점 정보.owner_no — NOT NULL
- review_com (Field) — VARCHAR(255)
- review_time (Field2) — DATETIME
- review_edit (Field3) — DATETIME
- review_score (Field4) — INTEGER
상점 정보 (store)
- store_no (Key2) — LONG — 기본 키 — NOT NULL
- owner_no (Key) — LONG — 외래 키 → 상점주.owner_no — NOT NULL
- store_name (Field) — VARCHAR(30)
- store_location (Field2) — VARCHAR(255)
- store_description (Field3) — VARCHAR(255)
상점주 (owner)
- owner_no (Key) — LONG — 기본 키 — NOT NULL
- owner_id (Field) — VARCHAR(20)
- password (Field2) — VARCHAR(30)
- partner (Field3) — BOOLEAN
예약 (reservation)
- res_no (Key2) — LONG — 기본 키 — NOT NULL
- customer_no (Key) — LONG — 외래 키 → 고객.customer_no — NOT NULL
- store_no (Key22) — LONG — 외래 키 → 상점 정보.store_no — NOT NULL
- owner_no (Key3) — LONG — 외래 키 → 상점 정보.owner_no — NOT NULL
- res_time (Field) — DATETIME
- res_ok (Field2) — BOOLEAN
- check (Field3) — BOOLEAN