package com.ga.core.vo.commission;

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

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class ReinstatementCommissionLedgerSaveReq {
    @NotNull
    private Long contractId;
    @NotNull
    private Long agentId;
    private Long ruleId;
    @NotBlank
    private String settleMonth;
    @NotNull
    private LocalDate reinstatementDate;
    @NotNull
    @PositiveOrZero
    private BigDecimal reinstatementPremium;
    @NotNull
    private BigDecimal commissionAmount;
    @NotNull
    @PositiveOrZero
    private BigDecimal chargebackReversal;
    @NotBlank
    private String payType;
}
