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;

@Data
public class OverrideLedgerSaveReq {
    @NotNull
    private Long fromAgentId;
    @NotNull
    private Long toAgentId;
    private Long orgId;
    @NotBlank
    private String settleMonth;
    @NotBlank
    private String sourceCommissionType;
    private String sourceLedgerTable;
    private Long sourceLedgerId;
    @NotNull
    @Positive
    private BigDecimal sourceAmount;
    @NotNull
    private BigDecimal overrideRate;
    @NotNull
    private BigDecimal overrideAmount;
}
