# ImportEmployeeDTO.java

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

    import cloud.wconnect.commonlib.pojo.dto.group.Addition;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

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

    /**
     * DTO：Import Employee
     *
     * @author yyt
     * 2023/7/8
     */
    @Data
    public class ImportEmployeeDTO {

        /**
         * 导入类型（1：adp，2：other）
         */
        @NotNull(message = "the type must not be null")
        @Range(min = 1, max = 2, message = "the type must be in [1：adp，2：other]")
        private Integer type;

        /**
         * 资产 id 集合
         */
        private List<Integer> propertyIds;

        public static final int TYPE_ADP = 1;

        public static final int TYPE_OTHER = 2;

    }