합주하실
테이블 (8)
리뷰 (Review)
- reviewId (리뷰아이디) — int — 기본 키 — NOT NULL
- title (제목) — String
- score (별점) — int
- userId (유저아이디) — int — 외래 키 → 유저.userId — NOT NULL
- description (본문내용) — String
- reviewImages (리뷰 사진) — StringUrl
- reviewDate (리뷰 작성 날짜) — LocalDate
- typeId (타입아이디) — int — 외래 키 → 방타입.typeId — NOT NULL
방타입 (roomType)
- typeId (타입아이디) — int — 기본 키 — NOT NULL
- typeName (타입이름) — String
- description (설명) — String
- typePersonnel (인원) — int
- status (예약여부) — bool
- price (가격) — int
- typeImg (타입 사진) — StringUrl
- roomId (합주실 아이디) — int — 외래 키 → 합주실.roomId — NOT NULL
예약내역 (book)
- bookId (예약아이디) — int — 기본 키 — NOT NULL
- userId (유저아이디) — int — 외래 키 → 유저.userId — NOT NULL
- personnel (인원) — int
- time (시간) — LocalDate
- amount (금액) — int
- date (날짜) — LocalDate
- roomId (합주실 아이디) — int — 외래 키 → 합주실.roomId — NOT NULL
- typeId (타입아이디) — int — 외래 키 → 방타입.typeId — NOT NULL
- paymentMethhod (결제방법) — String
- paymentStatus (결제상태) — bool
유저 (User)
- userId (유저아이디) — int — 기본 키 — NOT NULL
- email (이메일) — String
- password (비밀번호) — String
- role (역할) — String
- refreshtoken (토큰) — String
- profileImg (프로필 사진) — String
- phoneNumber (전화번호) — String
- userName (닉네임) — String
- registrationDate (가입날짜) — LocalDate
찜 (like)
- userId (유저아이디) — int — 외래 키 → 유저.userId — NOT NULL
- roomId (합주실 아이디) — int — 외래 키 → 합주실.roomId — NOT NULL
캘린더 (calender)
- bookId (예약아이디) — int — 외래 키 → 예약내역.bookId — NOT NULL
합주실 (Room)
- roomId (합주실 아이디) — int — 기본 키 — NOT NULL
- roomName (합주실이름) — String
- ownerId (사장아이디) — int — 외래 키 → 합주실 사장.ownerId — NOT NULL
- reviewId (리뷰아이디) — int — 외래 키 → 리뷰.reviewId — NOT NULL
- rooomImg (합주실 사진) — StringUrl
- locate (합주실 위치) — String
- roomDescription (합주실 설명) — String
- studioType (합주실 유형) — String
- availability (예약 가능 여부) — bool
- registrationDate (합주실 등록 날짜) — LocalDate
합주실 사장 (owner)
- ownerId (사장아이디) — int — 기본 키 — NOT NULL
- email (이메일) — String
- file (사업자등록증) — StringUrl
- password (비밀번호) — String
- role (역할) — String
- refreshtoken (토큰) — String
- progileImg (프로필사진) — String
- phoneNumber (전화번호) — String