캐나다 여행 플랫폼

테이블 (21)

객실 특징 (roomFacilities)

  • 객실 특징 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 방 아이디 (roomId) — not null, PK — 외래 키 → 호텔 방.방 아이디 — NOT NULL
  • 암막커튼 (blackoutCurtain) — not null
  • 룸서비스 (roomService) — not null
  • 모닝콜 서비스 (morningCall) — not null
  • 냉장고 (refridge) — not null
  • 차/커피메이커 (coffeeMaker) — not null
  • TV — not null
  • 안전금고 (safe) — not null
  • 전화기 (telephone) — not null
  • 에어컨 (airConditioner) — not null
  • 간이주방 (kitchenette) — not null

게시판 댓글 (comment)

  • 댓글 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 게시글 아이디 (postId) — not null, FK — 외래 키 → 자유게시판.게시글 아이디 — NOT NULL
  • 유저 아이디 (userId) — not null, FK — 외래 키 → 회원정보.회원아이디 — NOT NULL
  • 내용 (content) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

관광지/예약 (tourist_spot)

  • 관광지 아이디 (touristId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 관광지명 (name) — not null
  • 메인 주소 (address) — not null
  • 우편 주소 (zipCode) — not null
  • 관광지 설명 (intro) — not null
  • 가격(입장료) (price) — null
  • 전화번호 (phoneNumber) — not null
  • 이메일 (email) — null
  • 운영시간 (operatingTime) — not null
  • 대표사진(썸네일) (thumbnailPic) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

관리자 (admin)

  • 관리자 아이디 (adminId) — not null, PK — 기본 키 — NOT NULL
  • 로그인 아이디 (loginId) — not null
  • 비밀번호 (password) — not null
  • 이름(활동명) (name) — not null
  • 이메일 (email) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

교통정보 (publicTransport_info)

  • 교통종류 아이디 (transportId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 이름 (name) — not null
  • 가격 (price) — not null
  • 운행구간 (operating_section) — null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

리뷰 (review)

  • 리뷰 아이디 (reviewId) — not null, PK — 기본 키 — NOT NULL
  • 유저 아이디 (id) — not null, UK — 외래 키 → 회원정보.회원아이디 — NOT NULL
  • 카테고리별 아이디 (typeId) — not null
  • 카테고리타입 (type) — not null
  • 별점 (rate) — not null
  • 내용 (content) — null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

숙소/예약 (accomodation)

  • 숙소 아이디 (accomoId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 숙소명 (name) — not null
  • 메인 주소 (address) — not null
  • 우편 주소 (zipCode) — not null
  • 숙소 설명 (intro) — not null
  • 가격 (price) — not null
  • 전화번호 (phoneNumber) — not null
  • 이메일 (email) — null
  • 객실 타입 (type) — 삭제예정
  • 침대 (bed) — 삭제예정
  • 대표사진(썸네일) (thumnailPic) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

식당/푸드트럭 (restaurant)

  • 식당 아이디 (restaurantId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 식당명 (name) — not null
  • 메인 주소 (address) — not null
  • 우편 주소 (zipCode) — not null
  • 식당 설명 (intro) — not null
  • 식사 시간 (available_to_serve) — not null
  • 종류(일식, 양식 등) (type) — not null
  • 가격 (price) — not null
  • 전화번호 (phoneNumber) — not null
  • 운영시간 (operatingTime) — not null
  • 해피아워 (happyHour) — null
  • 대표사진(썸네일) (thumbnailPic) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

여행 TIP (travle_tip)

  • TIP 아이디 (tipId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 필수품 (vitalItem) — null
  • 문화 (culture) — null
  • 알고가면 좋을 상식 (commonSense) — null
  • 먹어봐야 할 음식 추천 (recommended) — null
  • 주의사항 (warning) — null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

예약 (reserve)

  • 예약 아이디 (reserve_id) — not null, PK — 기본 키 — NOT NULL
  • 유저 아이디 (userId) — not null, PK — 외래 키 → 회원정보.회원아이디 — NOT NULL
  • 카테고리별 아이디 (typeId) — not null
  • 카테고리별 타입 (type) — not null
  • 성(firstName) (firstName) — null
  • 이름(lastname) (lastName) — null
  • 이메일주소 (email) — null
  • 핸드폰 (phoneNumber) — null
  • 체크인 (checkIn) — null
  • 체크아웃 (checkOut) — null
  • 숙박인원 (guests) — null
  • 성인 (adults) — null
  • 아동 (children) — null
  • 가격 (price) — null

예약현황/장바구니 (cart)

  • 장바구니 아이디 (cartId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리별 아이디 (typeId) — not null — 기본 키 — NOT NULL
  • 유저 아이디 (userId) — not null, PK — 외래 키 → 회원정보.회원아이디 — NOT NULL
  • 상품수량 (quantity) — not null
  • 결제여부 (cartStatus) — not null
  • 가격 (price) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

이미지 (image)

  • 이미지 아이디 (imageId) — not null, PK — 기본 키 — NOT NULL
  • 숙소 아이디 (accomoId) — not null, PK — 외래 키 → 숙소/예약.숙소 아이디 — NOT NULL
  • 사진들 (imagePath) — null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

자유게시판 (post)

  • 게시글 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, FK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 유저 아이디 (userId) — not null, FK — 외래 키 → 회원정보.회원아이디 — NOT NULL
  • 내용 (content) — not null
  • 사진 (imagePath) — null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

카테고리 (category)

  • 카테고리 아이디 (categoryId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리명 (categoryName) — not null

패키지 상품 (pakage_product)

  • 패키지 아이디 (packageId) — not null, PK — 기본 키 — NOT NULL
  • 카테고리 아이디 (categoryId) — not null, PK — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL
  • 이름 (name) — not null
  • 메인주소 (address) — not null
  • 우편주소 (zipCode) — not null
  • 패키지 설명 (intro) — not null
  • 가격 (price) — not null
  • 소요시간 (durationTime) — null
  • 유형 (Field) — not null
  • 운영시간 (operatingTIme) — not null
  • 대표사진(썸네일) (thumbnailPic) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

패키지 이동 동선 (packageCourse)

  • id — not null PK — 기본 키 — NOT NULL
  • 패키지 아이디 (packageId) — not null, PK — 외래 키 → 패키지 상품.패키지 아이디 — NOT NULL
  • 사진 (picture) — not null
  • 제목 (intro) — not null
  • 내용 (intro2) — not null

편의 시설 (Facilities)

  • 편의 시설 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 숙소 아이디 (accomoId) — not null, PK — 외래 키 → 숙소/예약.숙소 아이디 — NOT NULL
  • 헬스장 (fitness) — not null
  • 바/라운지 (barLounge) — not null
  • 수영장 (pool) — not null
  • 발렛주차 (valetParking) — not null
  • 전기자동차 충전소 (EVCS) — not null
  • 연회장 (banquetHall) — not null
  • 반려동물 허용 (petAllowed) — not null
  • 수하물 보관소 (luggageStorage) — not null
  • 무료 인터넷 (wifi) — not null

호텔 방 (room)

  • 방 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 숙소 아이디 (accomoId) — not null, PK — 외래 키 → 숙소/예약.숙소 아이디 — NOT NULL
  • 객실 설명 (intro) — not null
  • 객실 타입 (type) — not null
  • 침대 타입 (bedType) — not null
  • 층 (floor) — not null
  • 전망 (view) — not null
  • 체크인 (checkIn) — not null
  • 체크아웃 (checkOut) — not null
  • 조식여부 (breakfast) — not null
  • 정원 (headCount) — not null
  • 흡연여부 (smoke) — not null
  • 방 썸네일 (thumbnailPic) — not null

호텔예약 (hotelReserve)

  • 호텔 예약 아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 숙소 아이디 (accomoId) — not null, PK — 외래 키 → 숙소/예약.숙소 아이디 — NOT NULL
  • 방 아이디 (roomId) — not null, PK — 외래 키 → 호텔 방.방 아이디 — NOT NULL
  • 날짜 (date) — not null

회원정보 (user)

  • 회원아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 관리자 아이디 (adminId) — null, FK — 외래 키 → 관리자.관리자 아이디 — NOT NULL
  • 로그인 아이디 (loginId) — not null
  • 비밀번호 (password) — not null
  • 이름(활동명) (name) — not null
  • 이메일 (email) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)

회원정보 로그 (userLog)

  • 회원아이디 (id) — not null, PK — 기본 키 — NOT NULL
  • 로그인 아이디 (loginId) — not null
  • 비밀번호 (password) — not null
  • 이름(활동명) (name) — not null
  • 이메일 (email) — not null
  • 생성일 (createdAt)
  • 수정일 (updatedAt)