package com.engine.salary.report.entity.dto;

import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
import com.engine.salary.report.entity.po.SalaryStatisticsItemPO;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 薪酬统计报表自定义统计项目规则
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//"薪酬统计报表数据")
public class SalaryStatisticsReportDataDTO {

    //本期数据")
    private List<SalaryAcctEmployeePO> list;

    //上期数据")
    private List<SalaryAcctEmployeePO> lastList;

    // 同期数据")
    private List<SalaryAcctEmployeePO> sameList;

    //统计项目")
    private List<SalaryStatisticsItemPO> salaryStatisticsItemList;

    //当前登录人id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long employeeId;

    //租户key")
    private String tenantKey;

    //维度值
    private String dimensionValue;

    //根据dimensionValue获取到的本期数据
    private List<SalaryAcctEmployeePO> listByDimensionValue;

}
