Desktop Dictionary

테이블 (8)

게시물 (Article)

  • 게시물 id (id) — Long — 기본 키 — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String
  • 카테고리 (category) — String

게시물이미지 (ArticleImage)

  • 이미지id (id) — Long — 기본 키 — NOT NULL
  • 게시물 id (article_id) — Long — 외래 키 → 게시물.게시물 id — NOT NULL
  • 이미지주소 (url) — LocalDateTime

답변 (Answer)

  • 답변id (id) — Long — 기본 키 — NOT NULL
  • 질문id (question_id) — Long — 외래 키 → 질문.질문id — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String

댓글 (Comment)

  • 댓글id (id) — Long — 기본 키 — NOT NULL
  • 게시물 id (article_id) — Long — 외래 키 → 게시물.게시물 id — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String

마켓 게시글 (MarketPost)

  • 마켓 게시글 id (id) — Long — 기본 키 — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 물품명 (product) — String
  • 가격 (price) — Long
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String
  • 카테고리 (category) — String

마켓 댓글 (MarketComment)

  • 마켓 게시글 id (id) — Long — 기본 키 — NOT NULL
  • 마켓 게시글 id (marketPost_id) — Long — 외래 키 → 마켓 게시글.마켓 게시글 id — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String

사용자 (Auth)

  • 사용자id (id) — Long — 기본 키 — NOT NULL
  • 이메일 (email) — String
  • 비밀번호 (password) — String
  • 이름 (name) — String
  • salt — String

질문 (Question)

  • 질문id (id) — Long — 기본 키 — NOT NULL
  • 작성자이름 (writerName) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 작성자이메일 (writerEmail) — String — 외래 키 → 사용자.사용자id — NOT NULL
  • 생성일자 (creationDate) — LocalDateTime
  • 내용 (content) — String
  • 카테고리 (category) — String
  • 답변개수 (answerCount) — Long
  • 조회수 (viewCount) — Long