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

import com.engine.salary.entity.datacollection.DataCollectionEmployee;
import com.engine.salary.util.valid.DataCheck;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;
import java.util.Map;

/**
 * 薪资核算的参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryAcctCalculateParam {

   //核算人员的id,不是employeeId而是salaryAcctEmpId
    private Collection<Long> ids;

    @DataCheck(require = true,message = "参数错误，薪资核算记录ID不能为空")
    private Long salaryAcctRecordId;

    /**
     * 人员信息，报表使用
     */
    private Map<Long, DataCollectionEmployee>  emps;
}
