어스토리
테이블 (6)
board (게시판(내여행지 완성본 공유))
- board_id (Field)
- board_like (Field3)
- board_image (Field2)
- board_view_count (Field4)
find_spot_to_spot (유저가 최근 검색한 경로 크롤링한 정보 담는 곳)
- find_spot_to_spot_id (Field)
- find_spot_start (Field2)
- find_spot_end (Field3)
- find_spot_to_spot_time (Field4)
- find_spot_to_spot_length (Field5)
- find_spot_to_spot_count (Field6)
frequent_spot_to_spot (nP2 경우만큼 미리 크롤링해서 담아 놓는 캐시(50개))
- frequent_spot_to_spot_id (Field)
- frequent_spot_start (Field2) — 출발지
- frequent_spot_end (Field3) — 도착지
- frequent_spot_to_spot_time (Field4) — 거점간 걸리는 시간
- frequent_spot_to_spot_length (Field5) — 거점간 걸리는 거리
- frequent_spot_to_spot_count (Field6) — 거점간 검색한 횟수
spot (장소(아직 유저로부터 선택을 받진 않음))
- spot_id (Field)
- spot_name (Field2)
- spot_image (Field3)
- spot_address (Field4) — 코멘트있음 — 네이버 지도 api에 목적지, 도착지 정보를 이름으로 던지면 중복되는 이름이 있을 수 있으니 address로 던질 예정
- spot_info (Field5) — 코멘트있음 — 1. 개장시간 2. 입장료 3. 전화번호 4. 주차여부 만약 유저가 박물관 시간이 끝났을 때 최적 경로를 조회했다면 입장시간이 끝났습니다 그래도 최적의 경로를 조회하시겠습니까? 알림 뜨도록
- spot_find_count (Field6) — 코멘트있음 — 한라산과 제주공항이라는 spot이 있을 때 고객이 단순히 클릭하는 것으로 spot_find_count가 올라가는게 아니라 여행지리스트(trip_list)에 최종적으로 저장할 때 spot_find_count가 증가됨.
trip_list (유저가 날짜별로 완성한 여행경로)
- trip_list_id (Field)
- trip_list_name (Field4)
- trip_duration (Field5) — 여행 기간
- trip_date (Field2) — 1일차, 2일차..
- trip_path (Field3) — 코멘트 있음 — 유저가 n일차에 가기로한 장소들의 리스트 (제주공항, 한라산, 올레시장, 제주공항)
- is_public (Field6) — 내 itinerary 공개여부
user (유저에 대한 정보)
- user_id (Field)
- email (Field3)
- password (Field2)
- nick_name (Field4)
- kakao_token (Field5)
- naver_token (Field6)