fintech

Tables (4)

Cart (장바구니)

  • 장바구니아이디 (id) — AUTO_INCREAMENT — Primary key — NOT NULL
  • 회원아이디 (userId) — FORIEGN KEY — Foreign key → User.회원아이디 — NOT NULL
  • 장바구니 생성일자 (createAt)

CartProducts (장바구니 상품)

  • 장바구니아이디 (cartId) — FORIEGN KEY — Foreign key → Cart.장바구니아이디 — NOT NULL
  • 상품아이디 (productId) — FORIEGN KEY — Foreign key → Table.상품아이디 — NOT NULL
  • 상품 개수 (count)

Table (상품)

  • 상품아이디 (id) — AUTO_INCREAMENT — Primary key — NOT NULL
  • 상품명 (name)
  • 상품카테고리 (category)
  • 가격 (price)
  • 제조원 (manufacturer)
  • 등록일자 (createAt)

User (회원)

  • 회원아이디 (id) — AUTO_INCREAMENT — Primary key — NOT NULL
  • 이메일 (email)
  • 비밀번호 (password)
  • 이름 (name)
  • 생년월일 (birth)
  • 가입일자 (createAt)