OurHome
Tables (3)
cart (장바구니)
- 장바구니 식별자 (cart_id) — Long — Primary key — NOT NULL
- 상품 개수 (product_count) — Integer
- 멤버식별자 (member_id) — Long — Foreign key → member.멤버식별자 — NOT NULL
- 상품식별자 (product_id) — Long — Foreign key → product.상품식별자 — NOT NULL
member (회원)
- 멤버식별자 (member_id) — Long — Primary key — NOT NULL
- 멤버 ID (member_login_id) — VARCHAR(10)
- 비밀번호 (member_password) — VARCHAR
product (상품)
- 상품식별자 (product_id) — Long — Primary key — NOT NULL
- 상품 이름 (product_name) — VARCHAR(100)
- 상품 설명 (product_description) — VARCHAR
- 상품 가격 (product_price) — Integer
- 상품 타입 (product_type) — Integer — 1:실온, 2:냉장, 3:냉동
- 상품 이미지 (product_image) — VARCHAR
- 할인율 (product_discount) — Integer
- 베스트 상품 (product_best) — tinyint — true: best 상품
- 상품 생성 날짜 (product_created_at) — DATETIME