package com.ga.core.vo.commission;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * advance_payment 등록 요청 (V117)
 */
@Data
public class AdvancePaymentSaveReq {

    @NotNull
    private Long agentId;

    @NotBlank
    private String advanceMonth;

    @NotNull
    @DecimalMin(value = "0", inclusive = false)
    private BigDecimal principalAmount;

    private String memo;
}
