# ScheduleDepartmentEmployeeBO.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.Null;

    /**
     * BO：Schedule Department Employee
     *
     * @author yyt
     * 2023/7/7
     */
    @Data
    public class ScheduleDepartmentEmployeeBO {

        /**
         * 部门编号
         */
        @NotBlank(message = "the departmentCode must not be blank")
        @Length(max = 20, message = "the departmentCode max length is 20")
        private String departmentCode;

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

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

        /**
         * 员工打卡编号
         * <p>此参数暂不支持外传，后续有对应业务再放开</p>
         */
        @Null(message = "the positionId must be null")
        private String positionId;

    }