YoungShoppingmall

Tables (6)

cart (Untitled5)

  • 카트id (cart_id) — Objectid — Primary key — NOT NULL
  • 프로필id (profile_id) — ObjectId — Foreign key → user_profiles.프로필id — NOT NULL
  • 아이템 (cart_items) — [ { product_id, product_,qty, product_size } ]

order (Untitled6)

  • 주문번호 (order_id) — ObjectId — Primary key — NOT NULL
  • 프로필id (profile_id) — ObjectId — Foreign key → user_profiles.프로필id — NOT NULL
  • 배송주소 (order_address) — String
  • 연락처 (order_contact) — Number
  • 아이템 (order_items) — [{product_id, product_qty, product_size , product_price} ]
  • 종합가격 (order_totalprice) — Number
  • 상태 (order_status) — String

product (Untitled2)

  • 상품번호 (product_id) — ObjectId — Primary key — NOT NULL
  • 상품명 (product_title) — String
  • 설명 (product_description) — String
  • 이미지 (product_image) — [produce_Images]
  • 가격 (product_price) — Number
  • 컬러 (product_color) — [ ] String
  • 카테고리 (product_category) — [ ] String
  • 재고 (product_stock) — Number
  • 신상 (product_isnew) — boolean
  • 좋아요 (product_islike) — Number
  • 삭제여부 (product_isdelete) — boolean

product_Images (Untitled3)

  • 이미지ID (product_image_id) — ObjectId — Primary key — NOT NULL
  • 상품번호 (product_id) — ObjectId — Foreign key → product.상품번호 — NOT NULL
  • 이미지 (product_image_path) — String
  • 역할 (product_image_role) — [ ] String

user (Untitled)

  • 유저아이디 (user_Id) — ObjectId — Primary key — NOT NULL
  • 이메일 (user_email) — String
  • 비밀번호 (user_password) — String
  • 생년월일 (user_birthDate) — Date
  • 주소 (user_address) — String
  • 전화번호 (user_contact) — Number

user_profiles (Untitled4)

  • 프로필id (profile_id) — ObjectId — Primary key — NOT NULL
  • 유저아이디 (user_Id) — ObjectId — Foreign key → user.유저아이디 — NOT NULL
  • 프로필사진 (profile_image) — String
  • 역할 (profile_role) — Number
  • 결제 (profile_payment) — [ order_id]
  • 장바구니 (profile_cart) — [ cart_id]