# UpdateEmployeeDTO.java

    package cloud.wconnect.workperformance.pojo.dto.schedule;

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO：Update Employee
     *
     * @author yyt
     * 2023/7/3
     */
    @Data
    public class UpdateEmployeeDTO {

        /**
         * 名称
         */
        @NotBlank(message = "the name must not be blank")
        @Length(max = 255, message = "the name max length is 255")
        private String name;

        /**
         * 排序编号，范围 0~9999
         */
        @Range(min = 0, max = 9999, message = "the sort must in 0~9999")
        private Integer sort;

    }