erd

테이블 (7)

리뷰 테이블 (tbl_view)

  • 리뷰 번호 (seq_view) — primary key — 기본 키 — NOT NULL
  • 맛집 번호 (seq_rest) — not null
  • 맛집 이름 (rest_name) — not null
  • 회원 닉네임 (user_name) — not null
  • 회원 아이디 (user_id) — not null
  • 리뷰 내용 (review_content) — not null
  • 리뷰 날짜 (review_date) — not null

리스트 테이블 (tbl_list)

  • 리스트 번호 (seq_list) — primary key — 기본 키 — NOT NULL
  • 리스트 제목 (list_title) — not null

리스트 파일 테이블 (tbl_listFile)

  • 파일 번호 (seq_file) — primary key — 기본 키 — NOT NULL
  • 리스트 번호 (seq_list) — not null
  • origin_name — not null
  • system_name — not null

맛집 마커 테이블 (tbl_restMark)

  • (seq_markNo) — primary key — 기본 키 — NOT NULL
  • (seq_rest) — not null
  • 회원 아이디 (user_id) — not null
  • Field (mark_check) — foreign key

맛집 테이블 (tbl_rest)

  • 맛집 번호 (seq_rest) — primary key — 기본 키 — NOT NULL
  • 리스트 번호 (seq_list) — not null
  • 리스트 이름 (rest_name) — not null
  • 맛집 소개 (rest_introduction) — not null
  • 시/도 (sido) — not null
  • 시/군/구 (sigungu) — not null
  • 읍/면/동 (bname) — not null
  • 우편번호 (postCode) — not null
  • Field (rest_address) — not null
  • Field (rest_tel) — not null
  • 영업 시간 (rest_time) — not null
  • 주차가능여부 (parking_possible) — not null
  • 추천 수 (mark_count) — default 0 not null

맛집 파일 테이블 (tbl_restFile)

  • 파일 번호 (seq_file) — primary key — 기본 키 — NOT NULL
  • 맛집 번호 (seq_rest) — not null
  • origin_name — not null
  • system_name — not null

회원 테이블 (tbl_member)

  • 회원 아이디 (user_id) — not null — 기본 키 — NOT NULL
  • 회원 닉네임 (user_nickname) — not null
  • 회원 비밀번호 (user_password) — not null
  • 등록 날짜 (signup_date) — not null
  • 회원 이메일 (user_email) — not null
  • 우편번호 (post_code) — not null
  • 도로명 주소 (road_addr) — not null
  • 상세 주소 (detail_addr) — not null
  • 식별번호 (identification) — not null