JPAshopERD
Tables (7)
CATEGORY (Untitled7)
- id (카테고리 아이디) — BIGINT — Primary key — NOT NULL
- name (카테고리 이름)
CATEGORY_ITEM (Untitled6)
- id (아이템 아이디) — BIGINT — Foreign key → ITEM.id — NOT NULL
- id (카테고리 아이디) — BIGINT — Foreign key → CATEGORY.id — NOT NULL
DELIVERY (Untitled4)
- id (배송 아이디) — BIGINT — Primary key — NOT NULL
- status (배송 상태) — BOOL
- city (Field) — string
- street (Field2) — string
- zipcode (Field3)
ITEM (Untitled5)
- id (아이템 아이디) — BIGINT — Primary key — NOT NULL
- name (아이템 이름) — string
- price (아이템 가격) — INTEGER
- stockQuantity (수량) — INTEGER
- DTYPE (상속 구분용)
- artist (음반_아티스트) — string
- etc (음반_기타) — string
- author (도서_저자) — string
- isbn (도서_isbn) — string
- director (영화_감독) — string
- actor (영화_배우)
MEMBER (Untitled)
- id (유저 아이디) — BIGINT — Primary key — NOT NULL
- name (유저 이름) — String
- city (Field) — String
- Street (Field2) — String
- Zipcode (Field3) — String
ORDERS (Untitled2)
- id (주문 아이디) — BIGINT — Primary key — NOT NULL
- OrderDate (주문일시) — TIMESTAMP
- Status (주문 상태)
- id (유저 아이디) — BIGINT — Foreign key → MEMBER.id — NOT NULL
- id (배송 아이디) — BIGINT — Foreign key → DELIVERY.id — NOT NULL
ORDER_ITEM (Untitled3)
- id (오더 아이템 아이디) — BIGINT — Primary key — NOT NULL
- Price (가격) — INTEGER
- count (수량) — INTEGER
- id (주문 아이디2) — BIGINT — Foreign key → ORDERS.id — NOT NULL
- id (아이템 아이디2) — BIGINT — Foreign key → ITEM.id — NOT NULL