camticket

Tables (9)

BaseTime (등록/수정)

  • 등록 시간 (regDate) — Not Null
  • 수정 시간 (modDate) — Not Null
  • Field

PerformanceImage (공연 이미지)

  • PK (PerformanceImage.Id) — Not NUll — Primary key — NOT NULL
  • 상세 페이지 이미지 (DetailPageImageUrl)
  • 정렬 순서 (sortOrder) — Not Null
  • PK (performancePost.Id) — Not Null — Foreign key → PerformancePost.PK — NOT NULL

PerformancePost (공연 게시물)

  • PK (performancePost.Id) — Not Null — Primary key — NOT NULL
  • 공연명 (title) — Not Null
  • 카테고리 (category) — Not Null
  • 공연장소 (location) — Not Null
  • 무료/유료 (ticketType) — Not Null
  • 1인당 최대 구매 가능 매수 (maxTicketsPerUser) — Not Null
  • 입금 계좌 정보 (backAccount) — Not Null
  • 예매 시작 일시 (reservatioStartAt) — Not Null
  • 예매 종료 일시 (reservationEndAt) — Not Null
  • 공연 시간 안내 문구 (timeNotice) — Not Null
  • 티켓 가격 안내 문구 (prcieNotice) — Not Null
  • 예매 관련 안내 문구 (reservationNotcie) — Not Null
  • 공연 프로필 사진 (ProfileImageUrl) — Not Null
  • PK (user.Id) — Not Null — Foreign key → User.PK — NOT NULL

PerformanceSchedule (공연 회차)

  • PK (PS.Id) — Not Null — Primary key — NOT NULL
  • 공연 시작 시간 (startTime) — Not Null
  • PK (performancePost.Id) — Not Null — Foreign key → PerformancePost.PK — NOT NULL

ReservationRequest (예매 신청)

  • Key (resrvationRequest.Id) — Long — Primary key — NOT NULL
  • 신청 상태 (status) — Not Null
  • PK (PS.Id) — Not Null — Foreign key → PerformanceSchedule.PK — NOT NULL
  • PK (user.Id) — Not Null — Foreign key → User.PK — NOT NULL
  • PK (ticketOption.Id) — Not Null — Foreign key → TicketOption.PK — NOT NULL

ReservationSeat (Untitled)

  • Key (reservationSeat.Id) — Not Null — Primary key — NOT NULL
  • Key (resrvationRequest.Id) — Not Null — Foreign key → ReservationRequest.Key — NOT NULL
  • PK (seat.Id) — Not Null — Foreign key → SechduleSeat.PK — NOT NULL

SechduleSeat (회차별 공연장 좌석)

  • PK (seat.Id) — Not Null — Primary key — NOT NULL
  • 좌석 (seatCode (예 : A1)) — Not Null
  • 좌석 상태 (status) — Not Null
  • PK(회차 ID) (PS.Id) — Not Null — Foreign key → PerformanceSchedule.PK — NOT NULL

TicketOption (티켓 옵션)

  • PK (ticketOption.Id) — Long — Primary key — NOT NULL
  • 옵션 이름 ( 일반 or 새내기) (name) — Not Null
  • 가격 (price) — Not Null
  • PK (performancePost.Id) — Not Null — Foreign key → PerformancePost.PK — NOT NULL

User (사용자)

  • PK (user.Id) — Not Null — Primary key — NOT NULL
  • 이름 (name) — Not Null
  • 계좌 (bankAccount)
  • 프로필 사진 (imageUrl) — Not Null
  • 카카오 식별 번호 (kakaoId) — Not Null
  • 이메일 (email) — Not Null
  • 역할 (role) — Not Null
  • 닉네임 (nickName)