package com.ga.core.vo.contract;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PositiveOrZero;
import lombok.Data;

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

@Data
public class AgentContractSaveReq {
    @NotNull
    private Long agentId;
    @NotNull
    private Long carrierId;
    @NotBlank
    private String contractNo;
    @NotNull
    private LocalDate signedDate;
    @NotNull
    private LocalDate effectiveFrom;
    private LocalDate effectiveTo;
    @NotNull
    @PositiveOrZero
    private BigDecimal onboardingBonusAmount;
}
