HSS

Tables (14)

Accessory (장신구)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

Bag (가방)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

Coordi (추천코디셋)

  • id (코디셋 넘버) — integer — Primary key — NOT NULL
  • id (아이디) — char(20) — Foreign key → User.id — NOT NULL
  • id (PK 넘버) — integer — Foreign key → Accessory.id — NOT NULL
  • id (PK 넘버2) — integer — Foreign key → Headwear.id — NOT NULL
  • id (PK 넘버3) — integer — Foreign key → Shoes.id — NOT NULL
  • id (PK 넘버4) — integer — Foreign key → Bag.id — NOT NULL
  • id (PK 넘버5) — integer — Foreign key → Pants.id — NOT NULL
  • id (PK 넘버6) — integer — Foreign key → Watch.id — NOT NULL
  • id (PK 넘버7) — integer — Foreign key → Outer.id — NOT NULL
  • id (PK 넘버8) — integer — Foreign key → Top.id — NOT NULL
  • img (추천코디이미지) — int
  • id (Auto increse) — integer — Foreign key → UserClothes.id — NOT NULL

Headwear (모자)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

LikeCoordi (좋아요 코디)

  • id (아이디) — char(20) — Foreign key → User.id — NOT NULL
  • id (사용자지정 코디셋 넘버) — integer — Foreign key → UserCoordi.id — NOT NULL

Outer (외투)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

Pants (하의)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

Personalcolor (퍼스널컬러)

  • user (아이디) — char(20) — Foreign key → User.id — NOT NULL
  • img (퍼스널컬러이미지) — img

Shoes (신발)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

Top (상의)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)

User (유저 테이블)

  • id (아이디) — char(20) — Primary key — NOT NULL
  • nickname (닉네임) — char(20)
  • color (퍼스널컬러) — char(20)
  • profile_image (프로필사진) — image
  • phone_number (휴대폰번호) — char(20)

UserClothes (유저가 등록한 옷)

  • id (Auto increse) — integer — Primary key — NOT NULL
  • user (유저 아이디) — char(20) — Foreign key → User.id — NOT NULL
  • img (옷 사진) — image
  • category (카테고리) — char(20)
  • subcategory (서브카테고리) — int
  • color (색깔) — char(5)

UserCoordi (사용자 지정 코디)

  • id (사용자지정 코디셋 넘버) — integer — Primary key — NOT NULL
  • usercloth (유저 옷 넘버) — integer — Foreign key → UserClothes.id — NOT NULL
  • user (유저 아이디) — char(20) — Foreign key → UserClothes.user — NOT NULL
  • hat (모자) — integer
  • shirt (상의) — integer
  • pants (하의) — integer
  • outer (외투) — integer
  • shoes (신발) — integer
  • accessory (엑세서리) — integer

Watch (시계)

  • id (PK 넘버) — integer — Primary key — NOT NULL
  • brand (브랜드명) — char(50)
  • category (카테고리) — char(20)
  • color (색상) — char(10)
  • season (계절감) — char(50)
  • textile (질감) — char(50)
  • item (아이템 이름) — char(50)
  • price (가격) — int
  • img (옷 사진) — image
  • url (아이템 링크) — char(100)
  • style (스타일) — char(50)