# ScheduleUpdateDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO：Schedule Update
     *
     * @author yyt
     * 2023/6/29
     */
    @Data
    public class ScheduleUpdateDTO {

        /**
         * 日期
         */
        @NotNull(message = "the theDate must not be null")
        private Long theDate;

        /**
         * 员工 id
         */
        @NotNull(message = "the employeeId must not be null")
        private Integer employeeId;

        /**
         * 输入内容
         */
        @NotNull(message = "the content must not be null")
        @Length(max = 255, message = "the content max length is 255")
        private String content;

    }