package com.ga.api.controller.chargeback;

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

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

@Data
public class ChargebackCalculateReq {

    @NotNull
    private LocalDate contractDate;

    @NotNull
    private LocalDate terminationDate;

    @NotNull
    @Positive
    private BigDecimal originalCommission;

    private String productCategory;
}
