Mini
Tables (8)
Adress(Embedded) (Untitled2)
- 도시 (city) — String
- 구 (district) — String
- 상세주소 (detail) — String
- 우편번호 (zip_code) — String
- 위도 (latitude) — Double
- 경도 (longtitude) — Double
CartRoom (CopyOfUntitled52)
- 예약 숙박업소ID (reserveRoomId) — Long — Primary key — NOT NULL
- 숙박업소 ID (roomId) — Long — Foreign key → Room.숙박업소 ID — NOT NULL
- 회원ID (memberId) — Long — Foreign key → Member.회원ID — NOT NULL
- 체크인 시간 (checkInDate) — LocalDateTime — NOT NULL
- 체크아웃 시간 (checkOutDate) — LocalDateTime — NOT NULL
- 숙박 인원 (numOfPeople) — Long — NOT NULL
File (Untitled4)
- 숙박업소 ID (roomId) — Long — Foreign key → Room.숙박업소 ID — NOT NULL
- 업로드 파일 이름 (upload_filename) — String
- 실제 저장 파일 이름 (stored_filename) — String
Member (Untitled)
- 회원ID (memberId) — Long — Primary key — NOT NULL
- 회원 이름 (userName) — String — NOT NULL
- 회원 이메일 (email) — String — NOT NULL
- 패스워드 (password) — String — NOT NULL
- 회원 주소 (address) — Adress
Pay (Untitled6)
- 결제ID (payId) — Long — Primary key — NOT NULL
- 예약정보ID (orderId) — Long — Foreign key → Reserve.예약ID — NOT NULL
- 예약 정보 (reserve) — Reserve — NOT NULL
- 결제 상태 (status) — Integer — NOT NULL
Reserve (CopyOfUntitled5)
- 예약ID (reserveId) — Long — Primary key — NOT NULL
- 예약자ID (memberId) — Long — Foreign key → Member.회원ID — NOT NULL
- 에약할 숙박업소들 (reserveRooms) — List<ReserveRoom> — NOT NULL
- 예약 시각 (reserveDate) — LocalDateTime — NOT NULL
- 예약 상태 (status) — ReserveStatus — NOT NULL
ReserveRoom (Untitled5)
- 예약 숙박업소ID (reserveRoomId) — Long — Primary key — NOT NULL
- 예약ID (reserveId) — Long — Foreign key → Reserve.예약ID — NOT NULL
- 숙박업소 ID (roomId) — Long — Foreign key → Room.숙박업소 ID — NOT NULL
- 체크인 시간 (checkInDate) — LocalDateTime — NOT NULL
- 체크아웃 시간 (checkOutDate) — LocalDateTime — NOT NULL
- 예약 상태 (status) — ReserveRoomStatus — NOT NULL
- 숙박 인원 (numOfPeople) — Long — NOT NULL
Room (Untitled3)
- 숙박업소 ID (roomId) — Long — Primary key — NOT NULL
- 숙박업소 이름 (room_name) — String — NOT NULL
- 숙박업소 설명 (description) — String — NOT NULL
- 가격 (price) — Integer — NOT NULL
- 재고 수량 (stock) — Integer — NOT NULL
- 숙박업소 이미지 (files) — List<File>
- 숙박업소 주소 (address) — Adress — NOT NULL