여행코스게시판ERD

테이블 (4)

BoardEntity (Untitled2)

  • 게시판식별 (bCode) — PK — 기본 키 — NOT NULL
  • 유저식별 (author) — FK — 외래 키 → UserEntity.유저식별 — NOT NULL
  • 제목 (title)
  • 내용 (content)
  • 작성일 (createDate)
  • 수정일 (modifyDate)
  • 조회수 (visitCount)
  • 장소식별 (pCode1) — 외래 키 → searchPlace.장소식별 — NOT NULL
  • 장소식별 (pCode2)
  • 장소식별 (pCode3)

CommEntity (Untitled3)

  • 댓글식별 (commCode) — PK — 기본 키 — NOT NULL
  • 게시판식별 (boardEntity) — FK — 외래 키 → BoardEntity.게시판식별 — NOT NULL
  • 유저식별 (author) — FK — 외래 키 → UserEntity.유저식별 — NOT NULL
  • 댓글내용 (content)
  • 작성일 (createDate)
  • 수정일 (modifyDate)

UserEntity (Untitled)

  • 유저식별 (idCode) — PK — 기본 키 — NOT NULL
  • 유저아이디 (userId) — unique
  • 유저닉네임 (nickName)
  • 비밀번호 (pw)
  • 전화번호 (phone)
  • 이메일 (emial)

searchPlace (Untitled4)

  • 장소식별 (pCode) — PK — 기본 키 — NOT NULL
  • 위도 (latitude)
  • 경도 (longitude)
  • 장소이름 (placeName)