lion

Tables (6)

Item_Category (Untitled5)

  • 아이템카테고리번호 (id) — BIGINT — Primary key — NOT NULL
  • 상품번호 (item_id) — BIGINT — Foreign key → item.상품번호 — NOT NULL
  • 카테고리번호 (category_id) — BIGINT

Order (Untitled6)

  • 주문번호 (id) — BIGINT — Primary key — NOT NULL
  • 상품번호 (item id) — BIGINT — Foreign key → item.상품번호 — NOT NULL
  • 회원번호 (user_id) — BIGINT — Foreign key → User.회원번호 — NOT NULL
  • 수량 (quantity) — BIGINT
  • 상태 (status) — VarChar(50)
  • 최종금액 (total_price) — BIGINT

Refresh Token (Untitled4)

  • 토큰번호 (id) — BIGINT — Primary key — NOT NULL
  • 회원번호 (user_id) — BIGINT
  • 유효기간 (ttl) — BIGINT
  • 리프레시토큰 (refresh_token) — VarChar(50)

User (Untitled)

  • 회원번호 (id) — BIGINT — Primary key — NOT NULL
  • 사용자명 (user_name) — VarChar(50)
  • 사용가능한마일리지 (mileage) — BIGINT
  • 주소 (address) — VarChar(50)
  • 소셜로그인식별자 (providerId) — VarChar(50)
  • 최근결제금액 (recentlyUsed) — BIGNT
  • 우편번호 (zip_code) — BIGINT
  • 상세주소 (address_detail) — VarChar(50)
  • 토큰번호 (id2) — BIGINT — Foreign key → Refresh Token.토큰번호 — NOT NULL

category (Untitled3)

  • 카테고리번호 (id) — BIGINT — Primary key — NOT NULL
  • 카테고리이름 (category_name) — BIGINT
  • 아이템카테고리번호 (id2) — BIGINT — Foreign key → Item_Category.아이템카테고리번호 — NOT NULL

item (Untitled2)

  • 상품번호 (id) — BIGINT — Primary key — NOT NULL
  • 상품이미지 (item_img) — VarChar(50)
  • 상품명 (item_name) — VarChar(50)
  • 상품브랜드 (item_brand) — VarChar(50)
  • 상품가격 (item_price) — BIGINT
  • 상품잔여수량 (item_left) — BIGINT