BookManagement

Tables (3)

Books (Untitled2)

  • 도서ID (bookId) — Long — Primary key — NOT NULL
  • 제목 (title) — String
  • 저자 (author) — String
  • 상태 (status) — Enum

LoanRecords (Untitled3)

  • 대출이력ID (loanRecordId) — Long — Primary key — NOT NULL
  • 도서Id (bookId) — Long — Foreign key → Books.도서ID — NOT NULL
  • 유저ID (userId) — String — Foreign key → Users.유저ID — NOT NULL
  • 대출날짜 (checkOutDate) — LocalDateTime
  • 반납예정 (DueDate) — LocalDateTime
  • 반납날짜 (returnedDate) — LocalDateTime

Users (Untitled)

  • 유저ID (userId) — String — Primary key — NOT NULL
  • 이름 (name) — String
  • 이메일 (email) — String
  • 전화번호 (phoneNumber) — String
  • Field (password) — String