hown

테이블 (5)

기록 (Records)

  • record_id — 기본 키 — NOT NULL
  • 회원 ID (user_id) — 외래 키 → 회원.회원 ID — NOT NULL
  • 매물 OD (property_id) — 외래 키 → 매물.매물 OD — NOT NULL
  • 수압 (water_pressure)
  • 방음 (soundproofing)
  • 채광 (daylighting)
  • 난방 (heating)
  • 치안 (security)
  • 편의시설 (facility)
  • 이미지 (image_url)
  • 메모 (memo)

리뷰 (Reviews)

  • 리뷰 ID (review_id) — 기본 키 — NOT NULL
  • 회원 ID (user_id) — 외래 키 → 회원.회원 ID — NOT NULL
  • 매물 OD (property_id) — 외래 키 → 매물.매물 OD — NOT NULL
  • 이미지 url (image_url)
  • 최종 별점 (rating)
  • 벌레 별점 (pest_rating)
  • 벌레 내용 (pest_content)
  • 청결 별점 (cleanliness_rating)
  • 청결 내용 (cleanliness_content)
  • 치안 별점 (security_rating)
  • 치안 내용 (security_content)
  • 방음 별점 (soundproofing_rating)
  • 방음 내용 (soundproofing_content)

매물 (Properties)

  • 매물 OD (property_id) — 기본 키 — NOT NULL
  • x좌표 (position_x)
  • y좌표 (position_y)
  • 주소 (address)
  • 건물명 (building_name)
  • 이미지 url (image_url)

찜 (Likes)

  • 회원 ID (user_id) — 외래 키 → 회원.회원 ID — NOT NULL
  • 매물 OD (property_id) — 외래 키 → 매물.매물 OD — NOT NULL

회원 (Users)

  • 회원 ID (user_id) — 기본 키 — NOT NULL
  • 닉네임 (nickname)
  • 로그인 아이디 (loginId)
  • 패스워드 (password)