springStudy1

Tables (5)

Attachment (첨부파일)

  • 첨부파일식별자 (attachmentId) — int — Primary key — NOT NULL
  • 게시글식별자 (postId) — int — Foreign key → Post.게시판식별자 — NOT NULL
  • 컨텐트타입 (contentType) — string
  • 파일url (fileUrl) — string
  • 파일크기 (fileSize) — string
  • 파일타입 (fileType) — string
  • 파일명 (fileName) — string
  • 생성일 (createDate) — string
  • 수정일 (updateDate) — string

Board (게시판)

  • 게시판식별자 (boardId) — int — Primary key — NOT NULL
  • 게시판명 (name) — string

Comment (댓글)

  • 댓글식별자 (commentId) — int — Primary key — NOT NULL
  • 게시글식별자 (postId) — int — Foreign key → Post.게시판식별자 — NOT NULL
  • 회원식별자 (memberId) — int — Foreign key → Member.회원식별자 — NOT NULL
  • 생성일 (createDate) — stirng
  • 수정일 (updateDate) — stirng
  • 본문 (content) — stirng
  • 상위댓글 식별자 (parentId) — int — Foreign key → Comment.게시글식별자 — NOT NULL

Member (회원)

  • 회원식별자 (memberId) — int — Primary key — NOT NULL
  • 등급 (grade) — grade
  • 전화번호 (phoneNum) — int
  • 나이 (age) — int
  • 이메일 (email) — string

Post (게시글)

  • 게시글식별자 (postId) — int — Primary key — NOT NULL
  • 멤버식별자 (memberId) — int — Foreign key → Member.회원식별자 — NOT NULL
  • 게시판식별자 (boardId) — int — Foreign key → Board.게시판식별자 — NOT NULL
  • 게시글명 (name) — string
  • 생성일 (createDate) — string
  • 수정일 (updateDate) — string
  • 좋아요 수 (likeCount) — int
  • 본문 (content) — string