# SalaryPayDTO.java

    package cloud.wconnect.workperformance.pojo.dto.sva.salarypay;

    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO类：salary pay
     *
     * @author zc
     * @date 2023/3/10
     */
    @Data
    public class SalaryPayDTO {

        /**
         * id
         */
        private Integer id;

        /**
         * 开始日期
         */
        @NotNull(message = "The startingDate cannot be null.")
        private Long startingDate;

        /**
         * 预期薪水 JSON
         */
        @NotBlank(message = "The payRates cannot be blank.")
        @Length(max = 1000, message = "The payRates is limited 1000 characters")
        private String payRates;

        public static final int LESS_THAN = 0;
        public static final int GREATER_THAN = 1;
        public static final int EQUAL_TO = 2;
    }