package com.ga.core.vo.commission;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * advance_payment — 선지급금 마스터 (V117)
 */
@Data
public class AdvancePaymentVO {
    private Long advanceId;
    private Long agentId;
    /** 선지급 발생월 YYYYMM */
    private String advanceMonth;
    /** 원금 */
    private BigDecimal principalAmount;
    /** 회수 누계 */
    private BigDecimal recoveredAmount;
    /** 잔액 (principal - recovered) */
    private BigDecimal balance;
    /** 상태: OUTSTANDING/PARTIAL/CLEARED/WAIVED */
    private String status;
    private String memo;
    private LocalDateTime createdAt;
    private Long createdBy;
    private LocalDateTime updatedAt;
}
