sajang

Tables (6)

Category (Untitled4)

  • 카테고리번호 (id) — BIGINT — Primary key — NOT NULL
  • 카테고리명 (category_name) — Varchar(50)

Item (Untitled3)

  • 상품번호 (id) — BIGINT — Primary key — NOT NULL
  • 상품명 (item_name) — Varchar(50)
  • 상품가격 (item_price) — BIGINT
  • 상품재고수량 (item_stock) — BIGINT
  • 상품이미지 (item_img) — BIGINT
  • 상품상세정보 (item_info) — BIGINT

Order (Untitled2)

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

User (Untitled)

  • 회원번호 (id) — BIGINT — Primary key — NOT NULL
  • 사용자명 (username) — Varchar(50)
  • 사용가능한마일리지 (mileage) — BIGINT
  • 주소 (address) — Varchar(50)
  • 소셜로그인식별자 (providerId) — Varchar(50)
  • 최근결제금액 (recentlyUsed) — BIGINT

item_category (Untitled6)

  • 상품번호 (item_id) — BIGINT — Foreign key → Item.상품번호 — NOT NULL
  • 카테고리번호 (category_id) — BIGINT — Foreign key → Category.카테고리번호 — NOT NULL

refresh_token (Untitled5)

  • 토큰식별키 (id) — BIGINT — Primary key — NOT NULL
  • 회원번호 (user_id) — BIGINT — Foreign key → User.회원번호 — NOT NULL
  • 리프레시토큰 (refresh_token) — BIGINT
  • 유효기간 (ttl) — BIGINT