ushouse-real

Tables (8)

Authority (권한 정보)

  • 권한 아이디 (id) — Primary key — NOT NULL
  • 회원번호 (member_id) — int — Foreign key → Member.회원번호 — NOT NULL
  • 권한이름 (name)

Board (게시판 정보)

  • 게시물 아이디 (id) — int — Primary key — NOT NULL
  • 게시물 제목 (boardTitle)
  • 게시물 작성자 (boardWriter)
  • 게시물 내용 (boardContent)
  • 좋아요 수 (likeHits)
  • 조회수 (boardHits)
  • 파일첨부 유무 (fileAttached)
  • 게시물 생성시간 (createdTime)
  • 게시물 수정시간 (updatedTime)

BoardFile (게시물 파일 정보)

  • 파일첨부 아이디 (id) — Primary key — NOT NULL
  • 파일이름 (originalFileName)
  • 저장될 파일이름 (storedFileName)
  • 게시물 아이디 (board_id) — int — Foreign key → Board.게시물 아이디 — NOT NULL

Comment (게시판 댓글)

  • 댓글번호 (id) — Primary key — NOT NULL
  • 댓글작성자 (commentWriter)
  • 댓글내용 (commentContent)
  • 댓글 작성시간 (commentCreatedTime)
  • 게시물 아이디 (board_id) — int — Foreign key → Board.게시물 아이디 — NOT NULL

Like (좋아요)

  • 좋아요 번호 (id) — Primary key — NOT NULL
  • 회원번호 (id2) — int — Foreign key → Member.회원번호 — NOT NULL
  • 게시물 아이디 (id3) — int — Foreign key → Board.게시물 아이디 — NOT NULL

Member (회원정보)

  • 회원번호 (id) — int — Primary key — NOT NULL
  • 비밀번호 (memberPassword)
  • 성별 (gender) — enum
  • 회원아이디 (memberId)
  • 회원 이메일 (memberEmail)
  • 회원 이름 (memberName)

Note (쪽지)

  • 쪽지 번호 (id) — Primary key — NOT NULL
  • 작성자 (writer)
  • 내용 (note)
  • 쪽지함 번호 (noteroom_id) — Foreign key → NoteRoom.쪽지함 번호 — NOT NULL

NoteRoom (쪽지함)

  • 쪽지함 번호 (id) — Primary key — NOT NULL
  • 초대자 (sendPerson)
  • 초대받은자 (receivePerson)
  • 쪽지함 이름 (noteroomName)