package com.ga.core.vo.training;

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

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

@Data
public class AgentTrainingSaveReq {
    @NotNull
    private Long agentId;
    @NotBlank
    private String courseName;
    @NotBlank
    private String courseType;
    @NotNull
    private LocalDate trainingDate;
    @NotNull
    @DecimalMin(value = "0", inclusive = false)
    private BigDecimal hours;
    private String certificateNo;
    private String instructor;
}
