HDD_BE
Tables (7)
Auth (인증)
- Key (Key2) — Foreign key → User.사용자 아이디 — NOT NULL
BaseEntity (베이스엔티티)
- 생성일 (regDate) — LocalDateTime
- 수정일 (modDate) — LocalDateTime
- 삭제여부 (isDelete) — Boolean
Comment (댓글)
- 댓글 아이디 (id) — Long — Primary key — NOT NULL
- 사용자 아이디 (id2) — Long — Foreign key → User.사용자 아이디 — NOT NULL
- 게시글 아이디 (id3) — Long — Foreign key → Post.게시글 아이디 — NOT NULL
- 댓글 아이디 (content_id) — Long — Foreign key → Comment.댓글 아이디 — NOT NULL
Like (좋아요)
- 좋아요 아이디 (id) — Long — Primary key — NOT NULL
- 사용자 아이디 (userId) — Long — Foreign key → User.사용자 아이디 — NOT NULL
- 게시글 아이디 (postId) — Long — Foreign key → Post.게시글 아이디 — NOT NULL
Notification (알림)
- 알림 아이디 (id) — Long — Primary key — NOT NULL
- 읽음여부 (isRead) — Boolean
- 사용자 아이디 (userId) — Long — Foreign key → User.사용자 아이디 — NOT NULL
- 게시글 아이디 (postId) — Long — Foreign key → Post.게시글 아이디 — NOT NULL
Post (게시글)
- 게시글 아이디 (id) — Long — Primary key — NOT NULL
- 사용자 아이디 (userId) — Long — Foreign key → User.사용자 아이디 — NOT NULL
- 제목 (title) — String
- 내용 (content) — String
- 좋아요수 (likeCount) — int
- 댓글개수 (commentCount) — int
- 조회수 (clickCount) — int
- 첨부파일 (fileName) — String
User (사용자)
- 사용자 아이디 (id) — Long — Primary key — NOT NULL
- 이름 (name) — String
- 닉네임 (nickname) — String
- 이메일 (email) — String