# ScheduleBO.java

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

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

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

    /**
     * BO：schedule
     *
     * @author yyt
     * 2023/7/8
     */
    @Data
    public class ScheduleBO {

        /**
         * 对应日期(如：2023-07-03)
         */
        @NotBlank(message = "the targetDate must not be blank")
        private String targetDate;

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

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

    }