MOG

Tables (4)

Notification (CopyOfCopyOfUntitled)

  • 상품 아이디 (product_id) — Long — Foreign key → Product.상품 아이디 — NOT NULL
  • 유저 아이디 (user_id) — Long — Foreign key → User.유저 아이디 — NOT NULL
  • 내용 (content) — String

Order (CopyOfCopyOfCopyOfUntitled)

  • 상품 아이디 (product_id) — Long — Foreign key → Product.상품 아이디 — NOT NULL
  • 유저 아이디 (user_id) — Long — Foreign key → User.유저 아이디 — NOT NULL

Product (Untitled)

  • 상품 아이디 (product_id) — Long — Primary key — NOT NULL
  • 이름 (name) — String
  • 설명 (description) — String
  • 제안자 (owner) — User
  • 가격 (prices) — List<Int>
  • 사진 주소 (pictures) — List<String>

User (CopyOfUntitled)

  • 유저 아이디 (user_id) — Long — Primary key — NOT NULL
  • 이름 (name) — String
  • 권한 (role) — Enum(String)
  • 주소지 (address) — String