quickdeal

Tables (4)

order (주문)

  • id (아이디) — BIGINT — Primary key — NOT NULL
  • user_id (주문자 아이디) — BIGINT
  • process_status (진행 상태) — ENUM
  • create_at (생성일) — DATETIME
  • update_at (수정일) — DATETIME

order_product (주문_상품)

  • id (아이디) — BIGINT — Primary key — NOT NULL
  • order_id (주문 아이디) — BIGINT
  • product_id (상품 아이디) — BIGINT
  • quantity (수량) — INT
  • PRICE (가격) — INT

payment (결제)

  • order_id (주문 아이디) — BIGINT — Primary key — NOT NULL
  • payment_amount (결제 합계) — INT
  • payment_date (결제일) — DATETIME
  • process_status (진행 상태) — ENUM
  • created_at (생성일) — DATETIME
  • updated_at (수정일) — DATETIME

product (상품)

  • id (아이디) — DATETIME — Primary key — NOT NULL
  • category_type (상품 유형) — DATETIME
  • name (이름) — DATETIME
  • description (설명) — DATETIME
  • stock_quantity (재고) — DATETIME
  • create_at (생성일) — DATETIME
  • update_at (수정일) — DATETIME