package com.engine.salary.entity.salaryacct.param;

import com.engine.salary.common.BaseQueryParam;
import com.engine.salary.enums.salaryaccounting.EmployeeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Collection;

/**
 * 薪资核算人员列表查询条件
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
//薪资核算人员列表查询条件")
public class SalaryAcctEmployeeListQueryParam extends BaseQueryParam {

    /**
     * 参数错误，薪资核算记录ID不能为空
     */
    @NotNull(message = "LABEL:99845")
    //薪资核算记录id")
    private Long salaryAcctRecordId;

    //人员姓名")
    private String employeeName;

    //个税扣缴义务人")
    private Long taxAgentId;

    //人员")
    private Collection<Long> employeeIds;

    //部门")
    private Collection<Long> departmentIds;

    //岗位")
    private Collection<Long> positionIds;

    //状态")
    private String status;

    //工号")
    private String jobNum;

    //列表主键id")
    private Collection<Long> ids;

    //薪资核算人员类型")
    private EmployeeTypeEnum employeeType;
}
