ZeusX
테이블 (5)
게임 (Game)
- PK (gameId) — Long — 기본 키 — NOT NULL
- 게임이름 (gameName) — String(100)
- 게임장르 (genre) — String(50)
- 커버이미지 (coverImageUrl) — String(255)
게임계정게시글 (GAccProduct)
- PK (GAccProductId) — Long — 기본 키 — NOT NULL
- PK (gameId) — Long — 외래 키 → 게임.PK — NOT NULL
- PK (userId) — Long — 외래 키 → 유저.PK — NOT NULL
- 게시글 제목 (title) — String(255)
- 게시글 내용 (description) — Lob
- 가격 (price) — BigDecimal(13,2)
리뷰 (Review)
- PK (reviewId) — Long — 기본 키 — NOT NULL
- 별점 (rating) — int
- 리뷰 (comment) — Lob
- 날짜 (createdAt) — createdAt
- PK (GAccProductId) — Long — 외래 키 → 게임계정게시글.PK — NOT NULL
- PK (orderId) — Long — 외래 키 → 주문.PK — NOT NULL
- PK (seller) — Long — 외래 키 → 유저.PK — NOT NULL
- PK (reviewerId) — Long — 외래 키 → 유저.PK — NOT NULL
유저 (User)
- PK (userId) — Long — 기본 키 — NOT NULL
- 유저이름 (username) — String(50)VARCHAR — VARCHAR
- 이메일 (email) — String(255)VARCHAR
- 패스워드해시 (passwordHash) — String(255)
- 유저상태 (status) — ENUM(20)VARCHAR
- 프로필URL (profileImageUrl) — String(255)VARCHAR
- 생성일자 (createdAt)
주문 (Order)
- PK (orderId) — Long — 기본 키 — NOT NULL
- userId(FK) (buyer) — Long — 외래 키 → 유저.PK — NOT NULL
- GAccProductId(FK) (gAccProductId) — Long — 외래 키 → 게임계정게시글.PK — NOT NULL
- 주문날짜 (orderDate) — Date
- 최종거래가격 (totalPrice) — BigDecimal(13,2)
- 갯수 (qunatity) — Integer
- 상태 (orderStatus) — Enum(20)VARCHAR