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;

/**
 * award_ledger 등록 요청.
 * award_amount 는 Service가 계산 후 VO에 set.
 */
@Data
public class AwardLedgerSaveReq {

    @NotNull
    private Long agentId;

    @NotBlank
    private String settleMonth;

    @NotBlank
    private String awardType;

    @NotNull
    @Positive
    private BigDecimal baseAmount;
}
