Manage Loyalty Programs
Tables (3)
Customers (Untitled)
- PK (ID) — UUID — Primary key — NOT NULL
- 고객코드 (customerCode) — String
- 이름 (firstName) — String
- 성 (lastName) — String
- 연락처 (phone) — String
- 이메일 (email) — String
- 가입일 (joinDate) — Date
- 상태 (status) — String
- 총 포인트 잔액 (totalPoints) — Integer
LoyaltyPrograms (Untitled2)
- Key (ID) — UUID — Primary key — NOT NULL
- PK (ID2) — UUID — Foreign key → Customers.PK — NOT NULL
- 프로그램 코드 (programCode) — String
- 프로그램 이름 (programName) — String
- 설명 (description) — String
- 시작일 (startDate) — Date
- 종료일 (endDate) — Date
- 상태 (status) — String
- 정립률 (pointRate) — Decimal(5,2)
Untitled3
- Key (ID) — UUID — Primary key — NOT NULL
- PK (customer_ID) — UUID — Foreign key → Customers.PK — NOT NULL
- 거래 일시 (transactionDate) — DateTime
- 거래 유형 (type) — String
- 변동 포인트 (points) — Integer
- 거래 설명 (description) — String
- 거래 후 잔액 (balanceAfter) — Integer