shoppingmall

테이블 (8)

결제방법 (Untitled8)

  • userid (Key) — string — 외래 키 → 고객정보.userid — NOT NULL
  • payment (Field) — string

고객정보 (Untitled2)

  • userid (Key) — string — 기본 키 — NOT NULL
  • name (Field) — string
  • adress (Field2) — string
  • created_at (Field3) — date
  • updated_at (Field4) — date

구매내역 (Untitled6)

  • userid (Key2) — string — 외래 키 → 고객정보.userid — NOT NULL
  • orderid (Key3) — string — 외래 키 → 주문.orderid — NOT NULL
  • productid (Key32) — string — 외래 키 → 주문.productid — NOT NULL
  • name (Field) — string
  • price_total (Field2) — number
  • amount (Field3) — number

배송 (Untitled4)

  • delid (Key) — string — 기본 키 — NOT NULL
  • orderid (Key2) — string — 외래 키 → 주문.orderid — NOT NULL
  • productid (Key3) — string — 외래 키 → 주문.productid — NOT NULL
  • history (Field) — string
  • location_buyer (Field2) — string
  • start_when (Field3) — date
  • arrive_when (Field4) — date

상품 (Untitled)

  • productid (Key) — string — 기본 키 — NOT NULL
  • name (Field) — string
  • detail (Field2) — string
  • price (Field3) — number
  • discount (Field4) — string

장바구니 (Untitled5)

  • userid (Key2) — string — 외래 키 → 고객정보.userid — NOT NULL
  • productid (Key) — string — 외래 키 → 상품.productid — NOT NULL
  • name (Field) — string
  • price_total (Field2) — number
  • amount (Field3) — number

주문 (Untitled3)

  • orderid (Key) — string — 기본 키 — NOT NULL
  • productid (Key3) — string — 외래 키 → 상품.productid — NOT NULL
  • amount (Field) — number
  • price_total (Field2) — number
  • option (Field3) — string
  • userid (Key2) — string — 외래 키 → 고객정보.userid — NOT NULL
  • productid (Key4) — string — 외래 키 → 상품.productid — NOT NULL

포인트 적립 내용 (Untitled7)

  • userid (Key) — string — 외래 키 → 고객정보.userid — NOT NULL
  • gain (Field) — string