money
테이블 (4)
거래내역 (Transaction)
- 아이디 (transaction_id) — not null — 기본 키 — NOT NULL
- 금액 (amount) — not null
- 타입 (type) — not null
- 메모 (description) — not null
- 거래날짜 (date) — not null
- Field
- 아이디 (user_id) — NOT NULL — 외래 키 → 계정.아이디 — NOT NULL
- 아이디 (category_id) — not null — 외래 키 → 카테고리.아이디 — NOT NULL
계정 (account)
- 아이디 (user_id) — NOT NULL — 기본 키 — NOT NULL
- 이메일 (user_email) — NOT NULL
- 비밀번호 (user_password) — NOT NULL
- 이름 (user_name) — NOT NULL
- 삭제여부 (del_yn) — NULL
- 리프레시토큰 (refresh_token) — null
예산 (budget)
- 아이디 (budget_id) — not null — 기본 키 — NOT NULL
- 시작날짜 (startdate) — not null
- 종료날짜 (enddate) — not null
- 예산금액 (budget_amonut) — not null
- 사용금액 (use_amount) — not null
- 초과여부 (over_yn) — NULL
- 아이디 (user_id) — NOT NULL — 외래 키 → 계정.아이디 — NOT NULL
카테고리 (category)
- 아이디 (category_id) — not null — 기본 키 — NOT NULL
- 항목이름 (category_name) — not null
- 아이디 (user_id) — NOT NULL — 외래 키 → 계정.아이디 — NOT NULL