BookStorePj

Tables (4)

Item

  • 상품번호 (Item_Id) — int — Primary key — NOT NULL
  • 상품이름 (Item_name)
  • 상품가격 (price)
  • 상품사진 (photo)
  • 상품유형 (type)
  • 판매수량 (count)

Manager

  • 관리자아이디 (Manager_Id) — Primary key — NOT NULL

Purchase (Untitled)

  • 구매번호 (cart_Id) — Primary key — NOT NULL
  • 유저번호 (user_Id) — Foreign key → User.유저번호 — NOT NULL
  • 상품번호 (Item_Id) — int — Foreign key → Item.상품번호 — NOT NULL
  • 구매수량 (count)

User

  • 유저번호 (user_Id) — Primary key — NOT NULL
  • 비밀번호 (user_password)
  • 이름 (name)
  • 성별 (sex)
  • 나이 (Age)
  • 이메일 (email)
  • 주소 (address)
  • 전화번호 (phone)