package com.ga.api.controller.regulatory;

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

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

@Data
public class ContractLimitCheckReq {

    @NotNull
    private Long contractId;

    @NotNull
    @Positive
    private BigDecimal additionalAmount;

    /** 기준일 (null이면 오늘) */
    private LocalDate baseDate;

    /** TOTAL_RATIO | FIRST_YEAR_RATIO */
    @NotNull
    private String limitType;
}
