예약 시스템
테이블 (5)
고객 (customer)
- 고객아이디 (customer_id) — string — 기본 키 — NOT NULL
- 고객이름 (customer_name) — string
- 휴대폰번호 (phone_number) — string
- 이메일 (email) — string
- 첫등록일 (first_reg_date) — date
- 성별 (sex_code) — string
- 생년월일 (birth) — integer
- 직업 (job) — string
- 우편번호 (zip_code) — integer — 외래 키 → 주소.우편번호 — NOT NULL
메뉴 (item)
- 메뉴아이디 (item_id) — string — 기본 키 — NOT NULL
- 메뉴이름 (product_name) — string
- 메뉴설명 (product_desc) — string
- 카테고리 (category_id) — string
- 가격 (price) — integer
예약 (reservation)
- 예약넘버 (reserv_no) — interger — 기본 키 — NOT NULL
- 예약일자 (reserv_date) — date
- 예약시간 (reserv_time) — integer
- 지점 (branch) — string
- 방문수 (visitor_cnt) — integer
- 취소 (cancel) — string
- 고객아이디 (customer_id) — string — 외래 키 → 고객.고객아이디 — NOT NULL
주문정보 (order_info)
- 주문넘버 (order_no) — integer — 기본 키 — NOT NULL
- 양 (quantity) — integer
- 세일 (sales) — integer
- 예약넘버 (reserv_no) — interger — 외래 키 → 예약.예약넘버 — NOT NULL
- 메뉴아이디 (item_id) — string — 외래 키 → 메뉴.메뉴아이디 — NOT NULL
주소 (address)
- 우편번호 (zip_code) — integer — 기본 키 — NOT NULL
- 세부주소 (address_detail) — string