lv2

Tables (7)

board (Controller)

  • 유저 아이디 (username2) — String — Foreign key → user.유저 아이디
  • 유제아이디 (username3) — String — Foreign key → board.유제아이디
  • 회원가입 (signup) — String
  • 로그인 (login) — String
  • 게시물 생성 (create board) — BoardResponseDto
  • 게시물 전체 조회 (getboard) — BoardResponseDto
  • 게시물 삭제 (delteboard) — String
  • 게시물 수정 (updateboard) — BoardResponseDto

board (Entity)

  • 유제아이디 (username) — String — Primary key
  • 비밀번호 (password) — String
  • 내용 (contents) — String
  • 제목 (title) — String
  • 아이디 (id) — Long

board (repository)

  • 유저 아이디 (username2) — String — Foreign key → boardservice.유저 아이디
  • 유제아이디 (username3) — String — Foreign key → boardservice.유제아이디

boardservice (Service)

  • 유저 아이디 (username2) — String — Foreign key → board.유저 아이디
  • 유제아이디 (username3) — String — Foreign key → board.유제아이디
  • 게시물 생성 (create board) — BoardResponseDto
  • 게시물 전체 조회 (getboard) — BoardResponseDto
  • 게시물 삭제 (delteboard) — String
  • 게시물 수정 (updateboard) — BoardResponseDto

user (entity)

  • 유저 아이디 (username) — String — Primary key
  • 비밀번호 (password) — String
  • 이메일 (email) — String

user (Repository)

  • Key — Foreign key → userservice.Key — NOT NULL
  • 유저 아이디 (username2) — String — Foreign key → userservice.유저 아이디
  • 유제아이디 (username3) — String — Foreign key → userservice.유제아이디

userservice (service)

  • Key — Primary key — NOT NULL
  • 유저 아이디 (username2) — String — Foreign key → board.유저 아이디
  • 유제아이디 (username3) — String — Foreign key → board.유제아이디
  • 로그인 (login) — void
  • 회원가입 (signup) — void