Co:N-next
Tables (19)
Artist (아티스트)
- 아티스트 id (artist_id) — bigint — Primary key — NOT NULL
- 이름 (artist_name) — varchar
- 이미지 (artist_img) — varchar
- 설명 (artist_notice) — varchar
Concert (콘서트)
- 콘서트 id (concert_id) — Bigint — Primary key — NOT NULL
- 콘서트 이름 (concert_name) — Varchar
- 포스터 (concert_img) — Varchar
- 날짜 (date) — Datetime
- 거래 플랫폼 (flatform) — Varchar
- 설명 (notice) — varchar
- 아티스트 id (artist_id3) — bigint — Foreign key → Artist.아티스트 id — NOT NULL
- Field (start_time)
- Field (end_time)
- Field (ticket_status)
MateGroup (공연 메이트 그룹)
- 공연 메이트 그룹 id (mate_group_id) — bigint — Primary key — NOT NULL
- 생성 시간 (created_at) — datetime
- 콘서트 id (concert_id) — Bigint — Foreign key → Concert.콘서트 id — NOT NULL
- Field (user_id)
- Field (mate_user_id)
MateGroupMember (공연 메이트 멤버)
- 공연 메이트 멤버 id (mate_group_member_id) — bigint — Primary key — NOT NULL
- 공연 메이트 그룹 id (mate_group_id) — bigint — Foreign key → MateGroup.공연 메이트 그룹 id — NOT NULL
- 사용자 id (user_id) — bigint — Foreign key → User.사용자 id — NOT NULL
MateLocationShare (공연 메이트 위치 공유)
- 공연 메이트 위치 공유 (share_id) — bigint — Primary key — NOT NULL
- 출발 사용자 (from_user_id) — bigint
- 목적지 사용자 (to_user_id) — bigint
- 상태 (status) — enum (Request / accept / reject)
- 생성시간 (created_at) — datetime
- Field
- 공연 메이트 그룹 id (mate_group_id) — bigint — Foreign key → MateGroup.공연 메이트 그룹 id — NOT NULL
Reservation (예매)
- 예매 id (reservation_id) — BigInt — Primary key — NOT NULL
- 사용자 id (user_id) — bigint — Foreign key → User.사용자 id — NOT NULL
- 구역 (seat_section) — Bigint
- 열 (seat_row) — Bigint
- 번 (seat_number) — Bigint
Untitled (Location (node))
- Key (id) — Primary key — NOT NULL
- Field (floor_id)
- Field (name)
- Field (description)
- Field (type) — enum(GATE, AISLE< SEAT_BLOCK, RESTROOM, STAIRS, ELEVATOR, EXIT, FACILITY)
- Field2 (x_coord)
- Field (y_coord)
Untitled (Path(edge))
- Key (id) — Primary key — NOT NULL
- Field (from_location_id)
- Field (to_location_id)
- Field (distance)
- Field (is_stair)
- Field (is_accessible)
- Field (direction_type) — enum(BIDIRECTIONAL, ONE_WAY)
- Field
Untitled (Navigation Step)
- Key (id) — Primary key — NOT NULL
- Field (from_location_id)
- Field (to_location_id)
- Field (step_order)
- Field (instruction_text)
Untitled (SEATGROUP)
- Key (id) — Primary key — NOT NULL
- Field (section)
- Field (row)
- Field (number)
- Field (seat_block_node_id)
- Field (shape_type) — enum(RECT, CIRCLE, FAN)
- Field (center_x)
- Field (center_y)
- Field (radius_inner)
- Field (radius_outer)
- Field (start_angle)
- Field (end_angle)
Untitled (popular_venue)
- Key (id) — Primary key — NOT NULL
- Field (search_count)
- 공연장 id (venue_id) — bigint — Foreign key → Venue.공연장 id — NOT NULL
- Field2 (rank)
- Field (updated_at)
Untitled (today_conert)
- Key (id) — Primary key — NOT NULL
- Field (concert_date)
- Field (concert_count)
- 콘서트 id (concert_id) — Bigint — Foreign key → Concert.콘서트 id — NOT NULL
- 공연장 id (venue_id) — bigint — Foreign key → Venue.공연장 id — NOT NULL
Untitled (ticket)
- Key (id) — Primary key — NOT NULL
- 사용자 id (user_id) — bigint — Foreign key → User.사용자 id — NOT NULL
- 콘서트 id (concert_id) — Bigint — Foreign key → Concert.콘서트 id — NOT NULL
- 예매 id (reservation_id) — BigInt — Foreign key → Reservation.예매 id — NOT NULL
- 사용자 id (user_id2) — bigint — Foreign key → Reservation.사용자 id — NOT NULL
- Field (floor)
- Field (block)
- Field (section)
- Field (row)
- Field (seat_number)
- Field (booking_name)
- Field (booking_date)
- Field (price)
Untitled (alarm)
- Key (id) — Primary key — NOT NULL
- 사용자 id (user_id) — bigint — Foreign key → User.사용자 id — NOT NULL
- Field (type) — enum( 공연장, 야구장)
- Field (title)
- Field (content)
- Field (is_read)
- Field (created_at)
User (사용자)
- 사용자 id (user_id) — bigint — Primary key — NOT NULL
- 이름 (name) — varchar
- 닉네임 (nickname) — varchar
- 생년월일 (birth) — datetime
- 전화번호 (phone) — bigint
- 아이디 (id) — bigint
- 패스워드 (passwd) — varchar
- 상태 (status)
- 생성 시간 (created_at) — datetime
- 탈퇴 시간 (deleted_at) — datetime
- 수정 시간 (updated_at)
- 이미지 (profile_img)
User_Social (소셜 로그인)
- id — Primary key — NOT NULL
- 사용자 id (user_id) — bigint — Foreign key → User.사용자 id — NOT NULL
- 타입 (account_type) — enum(Local social)
- provider_user_id (email)
- access_token (password)
- refresh_token (created_at)
- token_expires_at (refresh_token)
- created_at (access_token)
Venue (공연장)
- 공연장 id (venue_id) — bigint — Primary key — NOT NULL
- 공연장 이름 (venue_name) — Varchar
- 주소 (address) — varchar
- 도시명 (city) — varchar
- 위도 (latitude) — bigint
- 경도 (longtitude) — bigint
- 공연장 지도 id (venue_map_id) — bigint — Foreign key → VenueMap.공연장 지도 id — NOT NULL
- 공연장 시설물 id (venue_facility_id) — bigint
- 콘서트 id (concert_id) — Bigint — Foreign key → Concert.콘서트 id — NOT NULL
VenueFacility (공연장 시설물)
- Key (id) — Primary key — NOT NULL
- 시설물 타입 (facility_type) — enum (toilet/ store/ medical / food)
- 위도 (longtitude) — bigint
- 경도 (latitude) — bigint
- 층수 (floor) — bigint
- 공연장 id (venue_id) — bigint — Foreign key → Venue.공연장 id — NOT NULL
VenueMap (공연장 지도)
- 공연장 지도 id (venue_map_id) — bigint — Primary key — NOT NULL
- 지도 타입 (map_type) — enum (internal / external/ seat)
- 지도 이미지 (map_img_url) — varchar