# SaveCategoryDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * DTO类: 设置 Employee 信息中 Department Code 对应的Category的包装
     *
     * @author zc
     * @date 2023/2/23
     */
    @Data
    public class SaveCategoryDTO {

        /**
         * 员工的部门编号
         */
        @NotBlank(message = "The departmentCode cannot be blank")
        @Length(max = 20, message = "The departmentCode is limited 20 characters")
        private String departmentCode;

        /**
         * 要变更的分类id
         */
        @NotNull(message = "The depCategoryId cannot be null")
        private Integer depCategoryId;

        /**
         * 同步影响的 property 范围
         */
        private List<Integer> propertyIdRange;

        /**
         * 同步影响的考勤时间范围（30，60，90天）
         */
        private Integer scheduleDateRange;

    }