ㅁㅁ

테이블 (3)

리뷰 (Review)

  • review_id (리뷰 아이디) — Long — 기본 키 — NOT NULL
  • user_id (유저 아이디) — Long — 외래 키 → 유저.user_id — NOT NULL
  • store_id (음식점 아이디) — Long — 외래 키 → 음식점.store_id — NOT NULL
  • rating (별점) — float
  • visited_at (방문 시점) — LocalDate
  • image_url (이미지 url) — String
  • description (내용) — String

유저 (Untitled)

  • user_id (유저 아이디) — 기본 키 — NOT NULL

음식점 (Store)

  • store_id (음식점 아이디) — Long — 기본 키 — NOT NULL
  • store_name (음식점 명) — String
  • latitude (위도) — Double
  • longtitude (경도) — Double
  • address (주소) — String
  • kakao_store_id (카카오 음식점 아이디) — Integer
  • total_rating (전체 리뷰 평점) — float
  • most_visited_count (최대 방문수) — Integer
  • total_review_count (최대 리뷰수) — Integer
  • total_revisited_count (최대 재방문 수) — Integer
  • category (카테고리) — String