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;

/**
 * agent_reserve_fund 저장 요청.
 * balance 는 Service가 직전월 잔액 조회 후 계산하여 채워 넣음.
 */
@Data
public class AgentReserveFundSaveReq {

    @NotNull
    private Long agentId;

    @NotBlank
    private String settleMonth;

    @NotNull
    @DecimalMin("0")
    private BigDecimal reserveIn;

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