meeti

테이블 (5)

기업 (Enterprise)

  • Id — Long — 기본 키 — NOT NULL
  • Name — String
  • Address — String

대여 장소 (Room)

  • Id — Long — 기본 키 — NOT NULL
  • Name — String — NOT NULL
  • Address — String — NOT NULL
  • Type — String — NOT NULL
  • Limit — Integer — NOT NULL

일정 (Schedule)

  • Id — Long — 기본 키 — NOT NULL
  • Id (userId) — Long — 외래 키 → 회원.Id — NOT NULL
  • Start — Date — NOT NULL
  • End — Date — NOT NULL
  • Content — String

회원 (User)

  • Id — Long — 기본 키 — NOT NULL
  • Username — String — NOT NULL
  • Password — String — NOT NULL
  • Name — String — NOT NULL
  • Address — String — NOT NULL
  • Follower — List<Long>
  • Role — EnumType — NOT NULL
  • Id (Enterprise) — Long — 외래 키 → 기업.Id — NOT NULL

회원대여 (UserReserveRoom)

  • Id (reserveId) — Long — 기본 키 — NOT NULL
  • Id (userId) — Long — 외래 키 → 회원.Id — NOT NULL
  • Id (roomId) — Long — 외래 키 → 대여 장소.Id — NOT NULL
  • Status — String
  • Apply (Apply) — Date