final project

테이블 (11)

공연장 (place)

  • 공연장 아이디 (place_id) — 기본 키 — NOT NULL
  • 주소 (place_addr)
  • 전화번호 (place_phone)
  • 홈페이지 (place_link)
  • 이미지 (place_img)

리뷰 (review)

  • 리뷰 아이디 (review_id) — 기본 키 — NOT NULL
  • 리뷰명 (review_title)
  • 내용 (review_content)
  • 좋아요 (review_like)
  • 사용자 아이디 (user_id) — 외래 키 → 사용자.사용자 아이디 — NOT NULL

리뷰 좋아요 (boardLike)

  • 사용자 아이디 (user_id) — 외래 키 → 사용자.사용자 아이디 — NOT NULL
  • 리뷰 아이디 (review_id) — 외래 키 → 리뷰.리뷰 아이디 — NOT NULL

배우 댓글창 (actorBoard)

  • 출연진 아이디 (actor_id) — 외래 키 → 출연진.출연진 아이디 — NOT NULL
  • 사용자 아이디 (user_id) — 외래 키 → 사용자.사용자 아이디 — NOT NULL
  • 댓글 내용 (actorboard_content)

베스트 리뷰 (bestReview)

  • 랭킹 (ranking)
  • 리뷰 아이디 (review_id)

베스트 연극 (bestTheater)

  • 랭킹 (ranking)
  • 연극 번호 (theater_id)

사용자 (user)

  • 사용자 아이디 (user_id) — 기본 키 — NOT NULL
  • 아이디 (user_fullid)
  • 비밀번호 (user_pw)
  • 이름 (user_name)
  • 주민등록번호 (user_securitynumber)
  • 이메일 (user_email)
  • 로그인 타입 (user_logintype)

연극 (theater)

  • 연극 아이디 (theater_id) — 기본 키 — NOT NULL
  • 연극명 (theater_title)
  • 가격 (theater_price)
  • 시작 기간 (theater_from)
  • 종료기간 (theater_to)
  • 출연진 (theater_actor)
  • 공연시간 (theater_runtime)
  • 관람연령대 (theater_age)
  • 포스터 (theater_poster)
  • 태그 (theater_tag)
  • 공연장 아이디 (place_id) — 외래 키 → 공연장.공연장 아이디 — NOT NULL

유저 예매 리스트 (userTheaterList)

  • 연극 아이디 (theater_id) — 외래 키 → 연극.연극 아이디 — NOT NULL
  • 사용자 아이디 (user_id) — 외래 키 → 사용자.사용자 아이디 — NOT NULL
  • 예매번호 (reservation_number)

이벤트 (event)

  • 이벤트 명 (event_title)
  • 기간 (event_period)
  • 장소 (event_place)
  • 홈페이지 (event_homepage)
  • 이미지 (event_img)
  • 진행여부 (event_status)

출연진 (actor)

  • 출연진 아이디 (actor_id) — 기본 키 — NOT NULL
  • 배우명 (actor_name)
  • 이미지 (actor_img)
  • sns 링크 (actor_sns)
  • 연극 아이디 (theater_id) — 외래 키 → 연극.연극 아이디 — NOT NULL