weaver-hrm-salary/src/com/engine/salary/entity/salarysob/param/SalarySobRangeSaveParam.java

69 lines
1.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.engine.salary.entity.salarysob.param;
import com.engine.salary.enums.salarysob.SalaryEmployeeStatusEnum;
import com.engine.salary.enums.salarysob.TargetTypeEnum;
import lombok.Data;
import java.util.List;
/**
* @description: 薪资账套人员范围保存参数
* @author: xiajun
* @modified By: xiajun
* @date: Created in 11/11/21 10:05 AM
* @version:v1.0
*/
@Data
//薪资账套人员范围保存参数")
public class SalarySobRangeSaveParam {
/**
* 薪资账套的ID不允许为空
*/
//@NotNull(message = "LABEL:86575")
//薪资账套的id")
private Long salarySobId;
/**
* 只能选择 关联人员范围/从范围中排除
*/
//@NotNull(message = "LABEL:84026")
//@Min(message = "LABEL:84026", value = 0)
//@Max(message = "LABEL:84026", value = 1)
//是包含还是排除。0排除、1包含")
private Integer includeType;
/**
* 对象不能为空
*/
//@NotEmpty(message = "LABEL:98598")
//对象")
private List<SalarySobRangeTargetParam> targetParams;
/**
* 员工状态不允许为空
*/
//@NotNull(message = "LABEL:98599")
//员工状态")
private SalaryEmployeeStatusEnum employeeStatus;
@Data
//薪资账套人员范围保存参数中的对象")
public static class SalarySobRangeTargetParam {
/**
* 对象类型不能为空
*/
//@NotNull(message = "LABEL:98600")
//对象类型")
private TargetTypeEnum targetType;
/**
* 对象不能为空
*/
//@NotNull(message = "LABEL:98598")
//对象id")
private Long targetId;
}
}