ExpenseTracker
테이블 (3)
거래 (Transaction)
- 식별자 (id) — Integer — 기본 키 — NOT NULL
- 사용자 (user_id) — Integer — 외래 키 → 사용자.식별자 — NOT NULL
- 카테고리 (category_id) — Integer — 외래 키 → 카테고리.식별자 — NOT NULL
- 금액 (amount) — Integer
- 메모 (memo) — String
- 거래일 (transaction_date) — Date
- 생성일시 (create_date) — Datetime
- 삭제일시 (delete_date) — Datetime
사용자 (User)
- 식별자 (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — String
- 로그인아이디 (login_id) — String
- 비밀번호 (password) — String
카테고리 (Category)
- 식별자 (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — String
- 타입 (category_type) — Enum('income', 'expense')