주문 클라이언트
테이블 (4)
유저 (user)
- 고유키 (user_seq) — BigInt — 기본 키 — NOT NULL
- 아이디 (user_id) — Varchar(50)
유저 등급 (user_grade)
- 고유키 (user_grade_seq) — BigInt — 기본 키 — NOT NULL
- 등급명 (grade_name) — Varchar(30)
- 등급 설명 (grade_description) — Varchar(200)
- 등급 랭크 (grade_rank) — Int
유저 비밀번호 (user_password)
- 고유키 (user_password_seq) — BigInt — 기본 키 — NOT NULL
- 고유키 (user_seq) — BigInt — 외래 키 → 유저.고유키 — NOT NULL
- 비밀번호 (password) — Varchar(300)
- 생성 시간 (create_date) — Date
- 변경 시간 (update_date) — Date
- 변경이유 (update_reason) — Varchar(100)
유저-유저등급관계 (user_grade_relation)
- 고유키 (user_grade_relation_seq) — BigInt — 기본 키 — NOT NULL
- 고유키 (user_seq) — BigInt — 외래 키 → 유저.고유키 — NOT NULL
- 고유키 (user_grade_seq) — BigInt — 외래 키 → 유저 등급.고유키 — NOT NULL