feat: 투자 소수점 매매 + 카드 할부(installment_months)

- invest_trade.quantity BIGINT→DECIMAL(18,6): 평단·원가·평가/실현손익 계산을 BigDecimal로 전환 (금액은 원단위 정수 유지)
- account_entry.installment_months 추가: 카드 지출 2~24개월 할부 기록(일시불 null), 응답에 포함

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-03 16:41:58 +09:00
co-authored by Claude Opus 4.8
parent f5e9b78a14
commit bd0a0f7776
11 changed files with 79 additions and 28 deletions
@@ -29,6 +29,7 @@ public class AccountEntry implements Serializable {
private String walletName; // 조인 표시용
private Long toWalletId; // 이체 입금 계좌
private String toWalletName;
private Integer installmentMonths; // 카드 할부 개월수(2~24, 일시불은 null)
private LocalDateTime createdAt;
private LocalDateTime updatedAt;
}