hotel
테이블 (7)
객실 (Rooms)
- 객실번호 (room_id) — Not Null — 기본 키 — NOT NULL
- 호텔Id (hotel_id) — Not Null — 외래 키 → 호텔.호텔Id — NOT NULL
- 객실 명 (room_name) — Not Null
- 숙박인원 (Occupancy) — Not Null
- 층 (floor) — Not Null
- 전망 (view_type) — Not Null
- 욕조 (bathtub) — Not Null
- 예약상태 (is_check-in) — Not Null
리뷰 (Reviews)
- 리뷰ID (review_id) — Not Null — 기본 키 — NOT NULL
- 유저 ID (user_id) — Not Null — 외래 키 → 유저.유저ID — NOT NULL
- 객실번호 (room_id) — Not Null — 외래 키 → 객실.객실번호 — NOT NULL
- 평점 (rating) — Not Null
- 제목 (title) — Not Null
- 내용 (content) — NOT NULL
- 생성일 (created_date) — Not Null
시즌별 가격 (Seasonal_price)
- 시즌Id (Season_id) — Not Null — 기본 키 — NOT NULL
- 객실번호 (room_id) — Not Null — 외래 키 → 객실.객실번호 — NOT NULL
- 시즌 (Season) — Not Null
- 가격 (price_per_night) — Not Null
- 시작일 (Start-date) — Not Null
- 종료일 (End-date) — Not Null
예약 (Reservations)
- 예약 번호(코드) (reservation_code) — 기본 키 — NOT NULL
- 객실번호 (room_id) — Not Null — 외래 키 → 객실.객실번호 — NOT NULL
- 유저 ID (user_id) — Not Null — 외래 키 → 유저.유저ID — NOT NULL
- 체크인 날짜 (check-in_date) — Not Null
- 체크아웃 날짜 (check-out_date) — Not Null
- 인원수 (peopleNumber) — Not Null
유저 (Users)
- 유저ID (user_id) — Not Null — 기본 키 — NOT NULL
- 사용자Id (ID) — Not Null
- 비밀번호 (password) — Not Null
- 이름 (name) — Not Null
- 전화번호 (Phone) — Not Null
- 포인트 (point) — Not Null
- 권한 (role) — Not Null
- 생성일 (created_At) — Not Null
포인트 내역 (Point_history)
- 포인트ID (point_id) — Not Null — 기본 키 — NOT NULL
- 유저 ID (user_id) — Not Null — 외래 키 → 유저.유저ID — NOT NULL
- 포인트 상세 (Description) — NOT NULL
- 적립유형 (point_type) — Not Null
- 적립일 (issue_date) — Not Null
호텔 (Hotels)
- 호텔Id (hotel_id) — Not Null — 기본 키 — NOT NULL
- 호텔명 (hotel_name) — Not Null