joljak
테이블 (6)
거래과정 추적 (Transaction)
- Key (transaction_id) — String — 기본 키 — NOT NULL
- Key (post_id) — String — 외래 키 → 판매글.Key — NOT NULL
- Key (goods_id) — String — 외래 키 → 판매글.Key — NOT NULL
- Key (seller_id) — String — 외래 키 → 판매글.Key — NOT NULL
- Field (wish_buyer_id_list) — List<String>
- Field (buyer_id) — String
- Field (status) — String
거래기록 (history)
- Key (id) — String — 기본 키 — NOT NULL
- Key (goods_id) — String — 외래 키 → 상품.Key — NOT NULL
- 상품 이미지 (goods_image_path) — String
- 소유자 이미지 (user_image_path) — String — 현재는 더미 파일로 대체(필드 사용x)
- 몇번째 소유 (number) — int — 0부터 시작
- 소유자id (user_id) — String
- 소유자 (user_name) — String
- 신용도 (level) — int
상품 (goods)
- Key (goods_id) — String — 기본 키 — NOT NULL
- Key (user_id) — String — 외래 키 → 유저.Key — NOT NULL
- 상품 이름 (goods_name) — String
- 상품 날짜 (time) — String
- 상품 상태 (goods_status) — String
유저 (user)
- Key (id) — String — 기본 키 — NOT NULL
- 이름 (name) — String
- 이메일 (email) — String
- 프로필사진 (profileImage) — String
- 신용도 (level) — int
판매글 (post)
- Key (post_id) — String — 기본 키 — NOT NULL
- Key (goods_id) — String — 외래 키 → 상품.Key — NOT NULL
- Key (seller_id) — String — 외래 키 → 유저.Key — NOT NULL
- 판매글 제목 (title) — String
- 썸네일 이미지 (thumbnailImagePath) — String
- 판매글 이미지들 (imagePath) — List<String>
- 카테고리 (category) — String
- 가격 (price) — String
- 설명 (desc) — String
- 글 등록 날짜 (time) — String
- 판매 상태 (post_status) — String
희망 판매글 (wish)
- Key (id) — 기본 키 — NOT NULL
- Key (user_id) — String — 외래 키 → 유저.Key — NOT NULL
- Key (post_id) — String — 외래 키 → 판매글.Key — NOT NULL
- 판매글 제목 (title) — String
- 썸네일 이미지 (thumbnailImagePath) — String
- 가격 (price) — String
- 판매 상태 (post_status) — String
- 거래 상태 (status) — String
- 소유자 (user_name) — String
- 신용도 (level) — int