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

import com.engine.salary.entity.datacollection.DataCollectionEmployee;
import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
import com.engine.salary.entity.salaryacct.po.SalaryAcctRecordPO;
import com.engine.salary.entity.salarysob.dto.SalarySobItemAggregateDTO;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.*;

/**
 * 薪资核算人员
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Accessors(chain = true)
public class SalaryAcctResultListContext {

    private SalaryAcctRecordPO salaryAcctRecord;

    private SalarySobItemAggregateDTO salarySobItemAggregate;

    //存在合并计税的薪资核算人员（employeeId-taxAgentId）")
    private Set<String> sameTaxCycleKeySet;

    //薪资核算人员")
    private List<SalaryAcctEmployeePO> salaryAcctEmployees;

    private Integer total;

    private Map<String, String> hrmStatusMap;

    private Map<Long, DataCollectionEmployee> simpleEmployeeMap;

//    private Map<Long, ExtEmployeePO> extEmployeeMap;

    private Map<Long, String> taxAgentNameMap;

    public SalaryAcctResultListContext() {
        this.sameTaxCycleKeySet = new HashSet<>();
        this.salaryAcctEmployees = new ArrayList<>();
        this.hrmStatusMap = new HashMap<>();
        this.simpleEmployeeMap = new HashMap<>();
//        this.extEmployeeMap = new HashMap<>();
        this.taxAgentNameMap = new HashMap<>();
    }
}
