fitnow
Tables (13)
refresh_token (Untitled)
- 리프레시 토큰 키 (rt_key) — String — Primary key — NOT NULL
- 리프레시 토큰 값 (rt_val) — String
tbl_brand (브랜드)
- 브랜드번호 (id) — BigInt — Primary key — NOT NULL
- 브랜드명 (brand_name) — String
tbl_cart (카트)
- 카트내 번호 (id) — BigInt — Primary key — NOT NULL
- 사용자번호 (member_id) — BigInt — Foreign key → tbl_member.사용자번호 — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 사이즈 번호 (size_id) — BigInt — Foreign key → tbl_product_size.사이즈 번호 — NOT NULL
- 개수 (num) — BigInt
- 비회원 세션 번호 (session_id) — BigInt
tbl_file (파일)
- 파일 번호 (id) — BigInt — Primary key — NOT NULL
- 고유번호 (UUID) — String
- 파일 원본이름 (file_orign_name) — String
- 파일 경로 (file_path) — String
- 파일 타입 (file_type) — Stirng
tbl_like (찜)
- 찜 번호 (id) — BigInt — Primary key — NOT NULL
- 사용자번호 (member_id) — BigInt — Foreign key → tbl_member.사용자번호 — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
tbl_member (사용자)
- 사용자번호 (id) — BigInt — Primary key — NOT NULL
- 사용자 이메일 (member_email) — String
- 사용자전화번호 (member_phone) — String
- 사용자비밀번호 (member_password) — String
- 사용자 프로필사진 (member_profile_image) — String
- 사용자 이름 (member_name) — String
- 권한 (Authority) — String
- 상태 (status) — String
- 가입일자 (member_join_date) — Date
- 키 (height) — int
- 몸무게 (weight) — int
- 생년월일 (member_birth) — Date
- 성별 (member_gender) — String
tbl_member_model (Untitled2)
- 사용자 모델 번호 (id) — BigInt — Primary key — NOT NULL
- 사용자번호 (member_id) — BigInt — Foreign key → tbl_member.사용자번호 — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 파일 번호 (file_id) — BigInt — Foreign key → tbl_file.파일 번호 — NOT NULL
tbl_order (구매내역)
- 주문번호 (id) — BigInt — Primary key — NOT NULL
- 구매 상품 번호 (order_item_id) — BigInt — Foreign key → tbl_order_item.구매 상품 번호 — NOT NULL
- 사용자번호 (member_id) — BigInt — Foreign key → tbl_member.사용자번호 — NOT NULL
- 상품번호 (id2) — BigInt — Foreign key → tbl_order_item.상품번호 — NOT NULL
- 상태 (status) — String
- 주문 날짜 (order_date) — Date
tbl_order_item (구매 상품 정보)
- 구매 상품 번호 (id) — BigInt — Primary key — NOT NULL
- 사이즈 번호 (size_id) — BigInt — Foreign key → tbl_product_size.사이즈 번호 — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 구매 수량 (order_amount) — BigInt
- Field — BigInt
tbl_product (상품)
- 상품번호 (id) — BigInt — Primary key — NOT NULL
- 브랜드번호 (brand_id) — BigInt — Foreign key → tbl_brand.브랜드번호 — NOT NULL
- 인당 최대 구매 수량 (product_max_amount) — BigInt
- 가격 (product_price) — BigInt
- 업로드 날짜 (product_upload_date) — Date
- 수정 날짜 (product_edit_date) — Date
- 상태 (status) — String
tbl_product_file (상품 - 파일 중간테이블)
- 상품파일 id (id) — BigInt — Primary key — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 파일 번호 (file_id) — BigInt — Foreign key → tbl_file.파일 번호 — NOT NULL
tbl_product_size (제품 사이즈)
- 사이즈 번호 (id) — BigInt — Primary key — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 재고 수량 (product_amount) — BigInt
tbl_recent_product (최근본상품)
- id — BigInt — Primary key — NOT NULL
- 사용자번호 (member_id) — BigInt — Foreign key → tbl_member.사용자번호 — NOT NULL
- 상품번호 (product_id) — BigInt — Foreign key → tbl_product.상품번호 — NOT NULL
- 본 날짜 (watch_date) — String