ssafy
테이블 (7)
Live 거래 내역 (LiveParticipant)
- 사용자 ID (member) — Auto Increment — 외래 키 → 사용자.사용자 ID — NOT NULL
- 경매 ID (auction) — Auto Increment — 외래 키 → 경매.경매 ID — NOT NULL
- 입찰가 (bid_price) — Not Null
- 입찰 날짜 (created_at) — Not Null
경매 (Auction)
- 경매 ID (id) — Auto Increment — 기본 키 — NOT NULL
- 상품 ID (item) — Auto Increment — 외래 키 → 상품.상품 ID — NOT NULL
- 방송 ID (broadcast) — Auto Increment — 외래 키 → 방송.방송 ID — NOT NULL
- 생성 날짜 (created_at) — Not Null
- 수정 날짜 (modified_at) — Not Null
방송 (broadcast)
- 방송 ID (id) — Auto Increment — 기본 키 — NOT NULL
- 제목 (title) — Not Null
- 소개 (introduce) — Not Null
- 방송 링크 (link) — Not Null
- 방송 상태 (status) — Not Null
- 생성 날짜 (created_at) — Not Null
- 수정 날짜 (modified_at) — Not Null
사용자 (Member)
- 사용자 ID (id) — Auto Increment — 기본 키 — NOT NULL
- 이메일 (email) — Not Null
- 닉네임 (name) — Not Null
- 패스워드 (password) — Not Null
- 생성 날짜 (created_at) — Not Null
- 수정 날짜 (modified_at) — Not Null
상시 거래 내역 (SangsiParticipant)
- 사용자 ID (member) — Auto Increment — 외래 키 → 사용자.사용자 ID — NOT NULL
- 상시 경매 ID (sangsiAuction) — Auto Increment — 외래 키 → 상시 경매.상시 경매 ID — NOT NULL
- 입찰가 (bid_price) — Not Null
- 입찰 날짜 (created_at) — Not Null
상시 경매 (sangsiAuction)
- 상시 경매 ID (id) — Auto Increment — 기본 키 — NOT NULL
- 상품 ID (id2) — Auto Increment — 외래 키 → 상품.상품 ID — NOT NULL
- 제목 (title) — Not Null
- 소개 (introduce) — Not Null
- 생성 날짜 (created_at) — Not Null
- 수정 날짜 (modified_at) — Not Null
상품 (Item)
- 상품 ID (id) — Auto Increment — 기본 키 — NOT NULL
- 사용자 ID (member) — Auto Increment — 외래 키 → 사용자.사용자 ID — NOT NULL
- 상품명 (name) — Not Null
- 상품 설명 (content) — Not Null
- 썸네일 (thumbnail)
- 카테고리 (ItemType) — Default NONE
- 희망 구매가 (hope_price) — Default 0
- 즉시 구매가 (instant_price) — Default 0
- 생성 날짜 (created_at) — Not Null
- 수정 날자 (modified_at) — Not Null