movmovmovmoe
Tables (6)
Member (회원)
- 회원id (member_id) — Primary key — NOT NULL
- email
- pw (password)
- age
Movie (영화)
- 영화id (id) — Primary key — NOT NULL
- 영화제목 (Field)
- 영화줄거리 (Field2)
- 영화감독 (Field3)
- 영화배우 (Field4)
- 영화포스터 (Field5)
- 영화개봉일 (Field6)
- 영화상영시간 (runtime)
- 상영상태 (Field7)
Reservation (영화예매)
- 예매id (res_id) — Primary key — NOT NULL
- 예매일자 (Field)
- 총 가격 (Field2)
- 회원id (member_id) — Foreign key → Member.회원id — NOT NULL
- 좌석id (seat_id) — Foreign key → Seat.좌석id — NOT NULL
- 상영시간표id (schedule_id) — Foreign key → Schedule.상영시간표id — NOT NULL
Schedule (영화상영시간표)
- 상영시간표id (schedule_id) — Primary key — NOT NULL
- 상영시작시간 (schedule_start)
- 종료시간 (schedule_end)
- 날짜 (schedule_date)
- 상영관id (id2) — Foreign key → Theater.상영관id — NOT NULL
- 영화id (id3) — Foreign key → Movie.영화id — NOT NULL
Seat (좌석)
- 좌석id (seat_id) — Primary key — NOT NULL
- 좌석열 (row)
- 좌석행 (column)
- 상영관id (id2) — Foreign key → Theater.상영관id — NOT NULL
Theater (상영관)
- 상영관id (id) — Primary key — NOT NULL
- 상영관이름 (name)