package com.ga.api.controller.installment;

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

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

@Data
public class GeneratePlanReq {

    @NotNull
    private Long contractId;

    @NotNull
    @Positive
    private BigDecimal totalCommission;

    @NotNull
    private LocalDate contractDate;

    private String productCategory;
}
