커프재그

테이블 (9)

Untitled (Cart)

  • Key (cartId) — Long — 기본 키 — NOT NULL
  • Field (user) — User

Untitled (MyProduct)

  • Key (myProductId) — Long — 기본 키 — NOT NULL
  • Field (user) — User
  • Field — Product

Untitled (OderHistory)

  • Key (orderHistoryId) — Long — 기본 키 — NOT NULL
  • Field (cart) — Cart
  • Field (product) — Product
  • Field (orderCnt) — Long

Untitled (Payment)

  • Key (paymentId) — Long — 기본 키 — NOT NULL
  • Field (cart) — Cart
  • Field (userPhone) — String
  • Field (userAddress) — String
  • Field (orderHistories) — List<OrderHistory>
  • Field (totalPrice) — Long
  • Field (payMethod)

Untitled (Product)

  • Key (alcoholId) — Long — 기본 키 — NOT NULL
  • Field (alcoholImg) — String
  • Field (alcoholName) — alcoholUnit
  • Field (alcoholPrice) — int
  • Field (alcoholInfo) — String
  • Field (alcoholBrand) — String

Untitled (Review)

  • Key (reviewId) — Long — 기본 키 — NOT NULL
  • Field (username) — String
  • Field (alcoholId) — Long
  • Field (contents) — String
  • Field

Untitled (Timestamped)

  • Field (createdAt) — LocalDateTime
  • Field (modifiedAt) — LocalDateTime

Untitled (User)

  • Key (userId) — Long — 기본 키 — NOT NULL
  • Field (username) — String
  • Field (password) — String
  • Field (email) — String

주문 (ORDER)

  • Key (orderId) — Long — 기본 키 — NOT NULL
  • Field (cart) — Cart
  • Field (alcohol) — Product
  • Field (orderCnt) — Long