2022-03-22 21:01:38 +08:00
|
|
|
|
package com.engine.salary.entity.salarysob.param;
|
|
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.enums.salarysob.SalaryEmployeeStatusEnum;
|
|
|
|
|
|
import com.engine.salary.enums.salarysob.TargetTypeEnum;
|
2022-03-23 18:41:38 +08:00
|
|
|
|
import com.engine.salary.util.valid.DataCheck;
|
|
|
|
|
|
import com.engine.salary.util.valid.ValidTypeEnum;
|
2022-03-22 21:01:38 +08:00
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2022-03-23 18:41:38 +08:00
|
|
|
|
* 薪资账套人员范围保存参数
|
|
|
|
|
|
* <p>Copyright: Copyright (c) 2022</p>
|
|
|
|
|
|
* <p>Company: 泛微软件</p>
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author qiantao
|
|
|
|
|
|
* @version 1.0
|
|
|
|
|
|
**/
|
2022-03-22 21:01:38 +08:00
|
|
|
|
@Data
|
|
|
|
|
|
//薪资账套人员范围保存参数")
|
|
|
|
|
|
public class SalarySobRangeSaveParam {
|
|
|
|
|
|
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//薪资账套的id
|
|
|
|
|
|
@DataCheck(require = true, message = "薪资账套的ID不允许为空")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private Long salarySobId;
|
|
|
|
|
|
|
|
|
|
|
|
//是包含还是排除。0:排除、1:包含")
|
2022-03-23 18:41:38 +08:00
|
|
|
|
@DataCheck(require = true, type = ValidTypeEnum.NUMBER, max = 1, min = 0, message = "只能选择 关联人员范围/从范围中排除")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private Integer includeType;
|
|
|
|
|
|
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//对象
|
|
|
|
|
|
@DataCheck(require = true, message = "对象不能为空")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private List<SalarySobRangeTargetParam> targetParams;
|
|
|
|
|
|
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//员工状态
|
|
|
|
|
|
@DataCheck(require = true, message = "员工状态不允许为空")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private SalaryEmployeeStatusEnum employeeStatus;
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//薪资账套人员范围保存参数中的对象
|
2022-03-22 21:01:38 +08:00
|
|
|
|
public static class SalarySobRangeTargetParam {
|
|
|
|
|
|
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//对象类型
|
|
|
|
|
|
@DataCheck(require = true, message = "对象类型不能为空")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private TargetTypeEnum targetType;
|
|
|
|
|
|
|
2022-03-23 18:41:38 +08:00
|
|
|
|
//对象id
|
|
|
|
|
|
@DataCheck(require = true, message = "对象不能为空")
|
2022-03-22 21:01:38 +08:00
|
|
|
|
private Long targetId;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|