modu-ui-market-erd-yujin
테이블 (9)
마켓 (market)
- 마켓아이디 (id)
- 마켓이름 (name)
- 마켓주소 (url)
- 활성여부 (activeYN)
- 생성일시 (createdAt)
사용자 (user)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 사용자아이디 (displayId) — varchar(50)
- 이름 (name) — varchar(100)
- 이메일 (email)
- 비밀번호 (password)
- 주소 (address)
- 상세주소 (addressDetail)
- 우편번호 (pastalCode)
- 연락처 (phone)
- 탈퇴여부 (withdrawalYN)
- 생성일시 (createdAt)
상품 (product)
- 상품아이디 (id)
- 상품명 (name)
- 원가 (originalPrice)
- 판매가 (sellingPrice)
- 상품설명 (description)
- 재고 (stock)
상품옵션 (product_option)
- 옵션아이디 (id)
- 상품아이디 (product_id)
주문 (order)
- 주문아이디 (id)
- 상품아이디 (product_id)
- 주문수량 (quantity)
찜 (save)
- 사용자아이디 (user_id)
- 상품아이디 (product_id)
판매자 (seller)
- 사용자아이디 (user_id) — varchar(50)
- 판매자유형 (type) — varchar(100)
- 상담번호 (telephone)
- 사업장주소 (address)
- 사업장상세주소 (addressDetail)
- 우편번호 (postalCode)
- 생성일시 (createdAt)
- 상태 (status)