Quantify
테이블 (3)
모의투자 (simulation)
- 아이디 (id) — int — 기본 키 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 사용자.아이디 — NOT NULL
- 종목코드 (code) — char(6)
- 종목이름 (name) — varchar(20)
- 구매가격 (price) — int
- 구매일자 (buy_date) — date
- 개수 (quantity) — int
모의투자내역 (simulation_breakdown)
- 아이디 (id) — int — 기본 키 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 사용자.아이디 — NOT NULL
- 종목코드 (code) — char(6)
- 종목이름 (name) — varchar(20)
- 구매가격 (price) — int
- 구매일자 (buy_date) — date
- 개수 (quantity) — int
- 판매가격 (sell_price) — int
- 판매일자 (sell_date) — date
사용자 (user)
- 아이디 (id) — int — 기본 키 — NOT NULL
- 닉네임 (name) — varchar(20)
- 소셜 아이디 (social_id) — varchar(20)
- 플랫폼 (platform) — varchar(10)
- 모의투자 자본 (simul_money) — int