package com.ga.core.vo.commission;

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

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

@Data
public class RenewalCommissionLedgerSaveReq {
    @NotNull
    private Long contractId;
    @NotNull
    private Long agentId;
    private Long ruleId;
    @NotBlank
    private String settleMonth;
    @NotNull
    private LocalDate renewalDate;
    @NotNull
    @Positive
    private BigDecimal renewalPremium;
    @NotNull
    private BigDecimal commissionAmount;
    @NotBlank
    private String payType;
}
