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;

/**
 * lapsed_reinstatement_recovery 등록 요청 (V119)
 */
@Data
public class LapsedReinstatementRecoverySaveReq {

    @NotNull
    private Long contractId;

    @NotNull
    private Long agentId;

    @NotBlank
    private String lapsedMonth;

    @NotBlank
    private String reinstatedMonth;

    @NotNull
    @DecimalMin("0")
    private BigDecimal withheldAmount;
}
