Memo

테이블 (5)

댓글 (Comment)

  • 댓글id (comment_id) — Long — 기본 키 — NOT NULL
  • 유저명 (username) — String
  • 댓글내용 (comments) — String
  • 생성일 (created_at) — LocalDateTime
  • 수정일 (modified_at) — LocalDateTime
  • 메모id (memo_id) — Long — 외래 키 → 메모.메모id — NOT NULL
  • 회원id (user_id) — Long — 외래 키 → 회원.회원id — NOT NULL

댓글좋아요 (LikeComment)

  • likecomment_id (Key) — Long — 기본 키 — NOT NULL
  • 회원id (user_id) — Long — 외래 키 → 회원.회원id — NOT NULL
  • 댓글id (comment_id) — Long — 외래 키 → 댓글.댓글id — NOT NULL

메모 (Memo)

  • 메모id (memo_id) — Long — 기본 키 — NOT NULL
  • 메모제목 (title) — String
  • 작성자명 (username) — String
  • 메모내용 (contents) — String
  • 생성일 (created_at) — LocalDateTime
  • 수정일 (modified_at) — LocalDateTime
  • 회원id (user_id) — User — 외래 키 → 회원.회원id — NOT NULL

메모좋아요 (LikeMemo)

  • 게시판좋아요id (likememo_id) — Long — 기본 키 — NOT NULL
  • 회원id (user_id) — Long — 외래 키 → 회원.회원id — NOT NULL
  • 메모id (memo_id) — Long — 외래 키 → 메모.메모id — NOT NULL

회원 (User)

  • 회원id (user_id) — Long — 기본 키 — NOT NULL
  • 유저명 (username) — String
  • 비밀번호 (password) — String
  • 유저타입 (role) — UserRoleEnum