TickGetting
Tables (10)
actor (배우 정보)
- 아이디 (id) — int(20) — Primary key — NOT NULL
- 이름 (name) — varchar(100)
- 프로필 사진 (porofile_image) — varchar(500)
- 생성일 (created_at) — datetime
- 생성자 (created_by) — int(20)
- 수정일 (updated_at) — datetime
- 수정자 (updated_by) — int(20)
- Field
- 아이디 (Key) — Foreign key → perfomance.아이디 — NOT NULL
address (주소)
- 아이디 (Key) — Primary key — NOT NULL
- 주소 (Field)
- 상세 주소 (Field2)
- 우편번호 (Field3)
- 구 주소 (Field4)
perfomance (공연)
- 아이디 (Key) — Primary key — NOT NULL
- 공연 제목 (Field7)
- 공연 제목(영문) (Field8)
- 상세정보 (Field9)
- 시작일 (Field)
- 종료일 (Field5)
- 장소 (Field2)
- 관람시간 (Field3)
- 관람등급 (Field4)
- 포스터 이미지URL (Field6)
- 아이디 (Key2) — Foreign key → theater.아이디 — NOT NULL
performance_schedule (공연 일정)
- 아이디 (Key) — Foreign key → perfomance.아이디 — NOT NULL
reserve_ticket (사용자가 예매(구매)한 티켓)
- 아이디 (Key) — Primary key — NOT NULL
- 티켓 FK (Field)
- 예매 좌석 FK (Field2)
- 가격 (Field3)
- 할인 정보 (Field4)
- 결제 금액 (Field5)
- 결제일 (Field6)
- 결제(영수증)FK (Field7)
- 예매일 (Field8)
- 회차 (Field9)
- 아이디 (id) — Foreign key → users.아이디 — NOT NULL
review (후기)
- 아이디 (Key) — Foreign key → perfomance.아이디 — NOT NULL
- 아이디 (Key2) — Foreign key → reserve_ticket.아이디 — NOT NULL
seat (좌석)
- 아이디 (Key) — Primary key — NOT NULL
- 극장 FK (Field)
- 좌석 위치 (Field2)
- 좌석 등급 (Field3)
- Field4
- 아이디 (Key2) — Foreign key → reserve_ticket.아이디 — NOT NULL
- 아이디 (Key3) — Foreign key → theater.아이디 — NOT NULL
theater (극장)
- 아이디 (Key) — Primary key — NOT NULL
- 주소 FK (Field)
- 건물 명 (Field2)
- Field3
- 아이디 (Key2) — Foreign key → address.아이디 — NOT NULL
ticket_info (티켓 정보)
- id (Key) — Primary key — NOT NULL
- 티켓 이름 (Field)
- 티켓 설명 (Field2)
- 가격 (Field3)
- 수량 (Field4)
- 할인률 (Field5)
- 최종 가격 (Field6)
- 공연FK (Field7)
- 극장FK (Field8)
- 아이디 (Key2) — Foreign key → reserve_ticket.아이디 — NOT NULL
- 아이디 (Key3) — Foreign key → perfomance.아이디 — NOT NULL
users (사용자)
- 아이디 (id) — Primary key — NOT NULL
- 이름 (Field)
- 전화번호 (Field2)
- 주소 (Field3)
- 상세 주소 (Field4)
- 가입 수단 (Field5)
- 이메일 (Field6)
- 로그인아이디 (Field7)
- 비밀번호 (Field8)
- 마지막 로그인 날짜 (Field9)
- Field10