계정/정산 업무 규칙과 전환 불변식 추출 #3
1 changed files with 44 additions and 0 deletions
44
account-migration/README.md
Normal file
44
account-migration/README.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# account-migration
|
||||
|
||||
## 개요
|
||||
account-migration 모듈은 계정/정산 업무 규칙 및 전환 불변식을 정의합니다.
|
||||
|
||||
## 포함 범위
|
||||
- Settlement Cancellation 불변식 (SC-001 ~ SC-008)
|
||||
- Dispute/Chargeback Inquiry 불변식 (DC-001 ~ DC-010)
|
||||
- Payout Validation 불변식 (PV-001 ~ PV-012)
|
||||
|
||||
## 주요 불변식 요약
|
||||
|
||||
### Settlement Cancellation
|
||||
| ID | 설명 |
|
||||
|----|------|
|
||||
| SC-001 | COMPLETED/PENDING 상태만 취소 가능 |
|
||||
| SC-003 | 취소 금액은 원래 금액 초과 불가 |
|
||||
| SC-005 | 취소 시각은 settlement 이후 |
|
||||
| SC-008 | 취소 사유 최소 10자 |
|
||||
|
||||
### Dispute/Chargeback
|
||||
| ID | 설명 |
|
||||
|----|------|
|
||||
| DC-001 | settlement 후 90일 이내만 dispute 가능 |
|
||||
| DC-007 | chargeback은 100000원 초과만 가능 |
|
||||
| DC-010 | inquiry 페이지당 최대 50건 |
|
||||
|
||||
### Payout Validation
|
||||
| ID | 설명 |
|
||||
|----|------|
|
||||
| PV-001 | payout ≤ 가용 잔액 |
|
||||
| PV-002 | 최소 1000원 |
|
||||
| PV-003 | 일별 최대 10000000원 |
|
||||
| PV-009 | 平日 09:00-17:00 처리 |
|
||||
|
||||
## 빌드 및 테스트
|
||||
```bash
|
||||
mvn clean test
|
||||
```
|
||||
|
||||
## 의존성
|
||||
- Spring Boot 3.2.5
|
||||
- Jakarta Persistence API 3.1.0
|
||||
- Jakarta Validation API 3.0.2
|
||||
Loading…
Add table
Add a link
Reference in a new issue