concert
Tables (6)
concerts (CopyOfUntitled)
- 콘서트id (id) — bigint — Primary key — NOT NULL — auto_increment
- 유저id (user_id) — bigint — Foreign key → users.유저id — NOT NULL
- 콘서트이름 (concert_name) — varchar(200) — NOT NULL
- 콘서트 날짜 (concert_date) — datetime — NOT NULL
- 티켓 예매 가능 시간 (ticketing_date) — datetime — NOT NULL
- 콘서트 타입 (concert_type) — enum\ — NOT NULL
- 유저 당 최대 티켓 수 (max_ticket_per_user) — int — NOT NULL
- 총 좌석 수 (total_seat_count) — int — NOT NULL
- 예매 가능한 좌석 수 (available_seat_count) — int — NOT NULL
- 콘서트 조회수 (view_count) — bigint — NOT NULL
- 삭제 여부 (is_deleted) — boolean — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_at) — datetime — NOT NULL
orders (CopyOfCopyOfCopyOfCopyOfUntitled)
- 주문id (id) — bigint — Primary key — NOT NULL — auto_increment
- 유저id (user_id) — bigint — Foreign key → users.유저id — NOT NULL
- 콘서트id (concert_id) — bigint — Foreign key → concerts.콘서트id — NOT NULL
- 주문 상태 (order_status) — enum — NOT NULL
- 주문 금액 합계 (total_price) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_atd) — datetime — NOT NULL
seat_details (CopyOfCopyOfUntitled)
- 좌석 세부 정보id (id) — bigint — Primary key — NOT NULL — auto_increment
- 콘서트id (concert_id) — bigint — Foreign key → concerts.콘서트id — NOT NULL
- 좌석 타입 (seat_type) — enum — NOT NULL
- 좌석 가격 (price) — int — NOT NULL
- 좌석 타입 별 개수 (toatl_seat_count) — int — NOT NULL
- 좌석 타입 별 예매 가능한 좌석 개수 (available_seat_count) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_at) — datetime — NOT NULL
seats (CopyOfCopyOfCopyOfUntitled)
- 좌석id (id) — bigint — Primary key — NOT NULL — auto_increment
- 콘서트id (concert_id) — bigint — Foreign key → concerts.콘서트id — NOT NULL
- 좌석 세부 정보id (seat_details_id) — bigint — Foreign key → seat_details.좌석 세부 정보id — NOT NULL
- 좌석 예매 가능 여부 (is_available) — boolean — NOT NULL
- 좌석이름 (seat_number) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_at) — datetime — NOT NULL
tickets (CopyOfCopyOfCopyOfCopyOfUntitled2)
- 티켓id (id) — bigint — Primary key — NOT NULL — auto_increment
- 콘서트id (concert_id) — bigint — Foreign key → concerts.콘서트id — NOT NULL
- 주문id (order_id) — bigint — Foreign key → orders.주문id — NOT NULL
- 유저id (user_id) — bigint — Foreign key → users.유저id — NOT NULL
- 좌석id (seat_id) — bigint — Foreign key → seats.좌석id — NOT NULL
- 티켓 상태 (ticket_status) — enum — NOT NULL
- 좌석 가격 (price) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_at) — datetime — NOT NULL
users (Untitled)
- 유저id (id) — bigint — Primary key — NOT NULL — auto_increment
- 유저이름 (username) — varchar(200) — NOT NULL
- 이메일 (email) — varchar(200) — NOT NULL
- 비밀번호 (password) — varchar(200) — NOT NULL
- 유저 권한 (user_role) — Enum — NOT NULL
- 성별 (gender) — Enum — NOT NULL
- 나이 (age) — int — NOT NULL
- 포인트 (point) — int — NOT NULL
- 삭제 여부 (is_deleted) — boolean — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (modified_at) — datetime — NOT NULL