E-UM
Tables (14)
comment (댓글)
- 댓글ID (commentId) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- 유저ID (userId) — String — Foreign key → user.유저ID — NOT NULL
- 생성일 (createdBy) — String
commentEmotion (댓글 감정표현)
- ID — Long — Primary key — NOT NULL
- 댓글ID (commentId) — Long — Foreign key → comment.댓글ID — NOT NULL
- 유저ID (userId) — String — Foreign key → comment.유저ID — NOT NULL
- 감정 (option) — String
emotion (감정표현)
- ID (id) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- 유저ID (userId) — String — Foreign key → user.유저ID — NOT NULL
- 감정 (option) — String
post (게시글)
- 게시글ID (postId) — Long — Primary key — NOT NULL
- 유저ID (userId) — String — Foreign key → user.유저ID — NOT NULL
- 생성일 (createdBy) — String
- 조회수 (views) — Long
- 카테고리 (category) — String
- 파일 여부 (isFile) — Integer
postFile (게시글 파일)
- ID (postImageId) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- String (url) — String
postTag (게시글 태그)
- ID (postTagId) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- ID (tagId) — Long — Foreign key → tag.ID — NOT NULL
replyComment (대댓글)
- 대댓글ID (replyCommentId) — Long — Primary key — NOT NULL
- 댓글ID (commentId) — Long — Foreign key → comment.댓글ID — NOT NULL
- 유저ID (userId) — String — Foreign key → user.유저ID — NOT NULL
- 생성일 (createdBy) — String
replycommentEmotion (대댓글 감정표현)
- ID — Long — Primary key — NOT NULL
- 유저ID (userId) — String — Foreign key → user.유저ID — NOT NULL
- 대댓글ID (replyCommentId) — Long — Foreign key → replyComment.대댓글ID — NOT NULL
- 감정 (option) — String
tag (태그)
- ID (tagId) — Long — Primary key — NOT NULL
- 태그명 (name) — String
translationComment (번역 댓글)
- ID (translationCommentId) — Long — Primary key — NOT NULL
- 댓글ID (commentId) — Long — Foreign key → comment.댓글ID — NOT NULL
- 내용 (contents) — String
- 언어 (language) — String
translationPost (게시글 번역)
- ID (translationPostId) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- 제목 (title) — String
- 내용 (contents) — String
- 언어 (language) — String
translationReplyComment (번역 대댓글)
- ID (translationCommentId) — Long — Primary key — NOT NULL
- 대댓글ID (replyCommentId) — Long — Foreign key → replyComment.대댓글ID — NOT NULL
- 내용 (contents) — String
- 언어 (language) — String
user (유저)
- 유저ID (userId) — String — Primary key — NOT NULL
- 이름 (name) — String
- 국적 (nation) — String
- 주 언어 (language) — String
- 역할 (role) — String
- 주소 (address) — String
vote (투표)
- ID (voteId) — Long — Primary key — NOT NULL
- 게시글ID (postId) — Long — Foreign key → post.게시글ID — NOT NULL
- 유저ID (userId2) — String — Foreign key → user.유저ID — NOT NULL
- 찬반 (option) — String
- 시간 (timestamp) — String