From 2848ad3d6c03a2381febad733b782f6954f63653 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Mon, 13 Jul 2026 10:33:13 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B3=84=EC=A0=95/=EC=A0=95=EC=82=B0=20?= =?UTF-8?q?=EC=97=85=EB=AC=B4=20=EA=B7=9C=EC=B9=99=EA=B3=BC=20=EC=A0=84?= =?UTF-8?q?=ED=99=98=20=EB=B6=88=EB=B3=80=EC=8B=9D=20=EC=B6=94=EC=B6=9C=20?= =?UTF-8?q?(codex-bais-final3-20260713-192718-BAIS-SPRING-ANA-ACCOUNT-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- account-migration/README.md | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 account-migration/README.md diff --git a/account-migration/README.md b/account-migration/README.md new file mode 100644 index 0000000..1aef04f --- /dev/null +++ b/account-migration/README.md @@ -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