MovieReservation
Tables (19)
Actor (배우)
- 배우아이디 (actor_id) — Primary key — NOT NULL
- 배우이름 (actor_name)
- 배우이미지 (actor_image)
Admin (관리자)
- 관리자아이디 (admin_id) — Primary key — NOT NULL
- 관리자이름 (admin_name)
- 관리자비밀번호 (admin_password)
- 생성일 (admin_created_at)
Director (감독)
- 감독아이디 (director_id) — Primary key — NOT NULL
- 감독이름 (director_name)
Genre (장르)
- 장르번호 (genre_id) — Primary key — NOT NULL
- 장르이름 (genre_name)
Grade (등급)
- 등급번호 (grade_id) — Primary key — NOT NULL
- 등급이름 (grade_name)
- 등급상태 (grade_status)
Member (사용자)
- 사용자아이디 (member_id) — Primary key — NOT NULL
- 등급번호 (grade_id) — Foreign key → Grade.등급번호 — NOT NULL
- 권한아이디 (role_id) — Foreign key → Role.권한아이디 — NOT NULL
- 사용자비밀번호 (member_password)
- 사용자이름 (member_name)
- 사용자별명 (member_nickname)
- 사용자생일 (member_birthday)
- 우편번호 (member_zipcode)
- 메인주소 (member_main_address)
- 상세주소 (member_detail_address)
- 사용자성별 (member_gender)
Member_Theater (Untitled5)
- 아이디 (id) — Primary key — NOT NULL
- 사용자아이디 (member_id) — Foreign key → Member.사용자아이디 — NOT NULL
- 영화관아이디 (theater_id) — Foreign key → Theater.영화관아이디 — NOT NULL
- 등급번호 (grade_id) — Foreign key → Member.등급번호 — NOT NULL
- 권한아이디 (role_id) — Foreign key → Member.권한아이디 — NOT NULL
Movie (영화)
- 영화번호 (movie_id) — Primary key — NOT NULL
- 영화제목 (movie_title)
- 영화출시일 (movie_relased_date)
- 상영시간 (movie_running_time)
- 영화정보 (movie_information)
- 영화감독 (movie_director_name)
- 영화평점 (movie_rating)
Movie_Actor (Untitled4)
- 아이디 (id) — Primary key — NOT NULL
- 영화번호 (movie_id) — Foreign key → Movie.영화번호 — NOT NULL
- 배우아이디 (actor_id) — Foreign key → Actor.배우아이디 — NOT NULL
Movie_Director (Untitled3)
- 아이디 (id) — Primary key — NOT NULL
- 영화번호 (movie_id) — Foreign key → Movie.영화번호 — NOT NULL
- 감독아이디 (director_id) — Foreign key → Director.감독아이디 — NOT NULL
Movie_Genre (Untitled6)
- 아이디 (id) — Primary key — NOT NULL
- 영화번호 (movie_id) — Foreign key → Movie.영화번호 — NOT NULL
- 장르번호 (genre_id) — Foreign key → Genre.장르번호 — NOT NULL
Payment (결제)
- 결제번호 (payment_id) — Primary key — NOT NULL
- 결제방법 (payment_way)
- 결제상태 (payment_status)
Payment_Ticket (Untitled7)
- 아이디 (id) — Primary key — NOT NULL
- 결제번호 (payment_id) — Foreign key → Payment.결제번호 — NOT NULL
- 티켓번호 (ticket_id) — Foreign key → Ticket.티켓번호 — NOT NULL
- 영화번호 (movie_id) — Foreign key → Ticket.영화번호 — NOT NULL
Reservation (예약)
- 예매번호 (reservation_id) — Primary key — NOT NULL
- 사용자아이디 (member_id) — Foreign key → Member.사용자아이디 — NOT NULL
- 등급번호 (grade_id) — Foreign key → Member.등급번호 — NOT NULL
- 권한아이디 (role_id) — Foreign key → Member.권한아이디 — NOT NULL
- 예매일시 (reservation_date)
- 예매극장 (reservation_theater)
Role (권한)
- 권한아이디 (role_id) — Primary key — NOT NULL
- 상태 (status)
Seat (좌석)
- 좌석번호 (seat_id) — Primary key — NOT NULL
- 영화관아이디 (theater_id) — Foreign key → Theater.영화관아이디 — NOT NULL
- 좌석행 (seat_row)
- 좌석열 (seat_colum)
- 좌석이용가능여부 (seat_validation)
Theater (극장)
- 영화관아이디 (theater_id) — Primary key — NOT NULL
- 영화관위치 (theater_location)
- 영화관이름 (theater_name)
- 상영관 (theater_room)
Theater_Movie (Untitled2)
- 아이디 (id) — Primary key — NOT NULL
- 영화관아이디 (theater_id) — Foreign key → Theater.영화관아이디 — NOT NULL
- 영화번호 (movie_id) — Foreign key → Movie.영화번호 — NOT NULL
Ticket (티켓)
- 티켓번호 (ticket_id) — Primary key — NOT NULL
- 영화번호 (movie_id) — Foreign key → Movie.영화번호 — NOT NULL
- 예매취소 (ticket_cancel)
- 고객아이디 (member_id)