Post

Tables (3)

Comment (댓글)

  • Comment (commentid) — Long — Primary key
  • User (userid) — Long — Foreign key → User.User
  • Post (postid) — Long — Foreign key → Post.Post
  • 댓글ID (commentId) — Long
  • 이름 (name) — String — NOT NULL
  • 비밀번호 (password) — String — NOT NULL
  • 내용 (Field2) — String — NOT NULL

Post (게시글)

  • Post (postid) — Long — Primary key
  • User (userid) — Long — Foreign key → User.User
  • 게시글ID (id) — Long
  • 제목 (title) — String — NOT NULL
  • 이름 (name) — String — NOT NULL
  • 내용 (contents) — String — NOT NULL
  • 생성날짜 (createdAt) — LocalDateTime
  • 수정날짜 (modifiedAt) — LocalDateTime

User (사용자)

  • User (userid) — Long — Primary key
  • 이름 (username) — String — NOT NULL
  • 비밀번호 (password) — String — NOT NULL
  • 역할 (role) — Enum — NOT NULL