tms

테이블 (13)

QnA (qna)

  • QnA 번호 (qna_idx) — not null — 기본 키 — NOT NULL
  • 사용자 번호 (user_idx) — not null — 외래 키 → 사용자.사용자 번호 — NOT NULL
  • 제목 (title) — not null — NOT NULL
  • 내용 (content) — not null
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

공항 (airport)

  • 공항 번호 (airport_idx) — not null — 기본 키 — NOT NULL
  • 공항 아이디 (airport_id) — not null — NOT NULL
  • 공항명 (airport_nm) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

버스 (bus)

  • 버스 번호 (bus_idx) — not null — 기본 키 — NOT NULL
  • 노선 아이디 (route_id) — not null
  • 등급 (grade_nm) — not null
  • 출발지 (arr_place_nm) — not null — NOT NULL
  • 도착지 (dep_place_nm) — not null
  • 출발시간 (arr_pland_time) — not null
  • 도착시간 (dep_pland_time) — not null — NOT NULL
  • 요금 (charge) — not null
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

버스 예약 (bus_booking)

  • 숙소 예약 번호 (bus_book_idx) — not null — 기본 키 — NOT NULL
  • 사용자 번호 (user_idx) — not null — 외래 키 → 사용자.사용자 번호 — NOT NULL
  • 버스 번호 (bus_idx) — not null — 외래 키 → 버스.버스 번호 — NOT NULL
  • 예약날짜 (book_date) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

사용자 (user)

  • 사용자 번호 (user_idx) — not null — 기본 키 — NOT NULL
  • 이메일 (email) — not null — NOT NULL
  • 사용자명 (name) — not null
  • 역할 (role) — not null
  • 소셜구분 (social_type) — not null
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

선박 (ship)

  • 선박 번호 (ship_idx) — not null — 기본 키 — NOT NULL
  • 선박운항명 (vihicleNm) — not null — NOT NULL
  • 출발항 (arr_place_nm) — not null — NOT NULL
  • 도착항 (dep_place_nm) — not null
  • 출발시간 (arr_pland_time) — not null
  • 도착시간 (dep_pland_time) — not null — NOT NULL
  • 요금 (charge) — not null
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

선박 예약 (ship_booking)

  • 숙소 예약 번호 (ship_book_idx) — not null — 기본 키 — NOT NULL
  • 선박 번호 (ship_idx) — not null — 외래 키 → 선박.선박 번호 — NOT NULL
  • 사용자 번호 (user_idx) — not null — 외래 키 → 사용자.사용자 번호 — NOT NULL
  • 예약날짜 (book_date) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

숙소 (room)

  • 숙소 번호 (room_idx) — not null — 기본 키 — NOT NULL
  • 숙소명 (airport_id) — not null — NOT NULL
  • 체크인 (check_in) — not null
  • 체크아웃 (check_out) — not null — NOT NULL
  • 남은방 (count) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

숙소 예약 (room_booking)

  • 숙소 예약 번호 (room_book_idx) — not null — 기본 키 — NOT NULL
  • 숙소 번호 (room_idx) — not null — 외래 키 → 숙소.숙소 번호 — NOT NULL
  • 사용자 번호 (user_idx) — not null — 외래 키 → 사용자.사용자 번호 — NOT NULL
  • 예약날짜 (book_date) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

항공사 (airline)

  • 항공사 번호 (airline_idx) — not null — 기본 키 — NOT NULL
  • 항공사 아이디 (airline_id) — not null — NOT NULL
  • 항공사명 (airline_nm) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

항공편 (flight)

  • 항공편 번호 (flight_idx) — not null — 기본 키 — NOT NULL
  • 항공사 번호 (airline_idx) — not null — 외래 키 → 항공사.항공사 번호 — NOT NULL
  • 출발공항 번호 (arr_airport_idx) — not null — 외래 키 → 공항.공항 번호 — NOT NULL
  • 도착공항번호 (dep_airport_idx) — not null — 외래 키 → 공항.공항 번호 — NOT NULL
  • 항공편 아이디 (airport_id) — not null — NOT NULL
  • 출발시간 (arr_pland_time) — not null — NOT NULL
  • 도착시간 (dep_pland_time) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

항공편 예약 (flight_booking)

  • 항공편 예약 번호 (flight_book_idx) — not null — 기본 키 — NOT NULL
  • 항공편 좌석 번호 (flight_seat_idx) — not null — 외래 키 → 항공편 좌석.항공편 좌석 번호 — NOT NULL
  • 사용자 번호 (user_idx) — not null — 외래 키 → 사용자.사용자 번호 — NOT NULL
  • 예약날짜 (book_date) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL

항공편 좌석 (flight_seat)

  • 항공편 좌석 번호 (flight_seat_idx) — not null — 기본 키 — NOT NULL
  • 항공편 번호 (flight_idx) — not null — 외래 키 → 항공편.항공편 번호 — NOT NULL
  • 좌석 클래스 (class_code) — not null — NOT NULL
  • 좌석명 (seat_name) — not null — NOT NULL
  • 생성날짜 (created_date) — not null — NOT NULL
  • 수정날짜 (modified_date) — not null — NOT NULL