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

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;

/**
 * 分析图数据展示范围设置
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//"报表查询入参")
public class SalaryStatisticsEchartsDTO {
    // 分析图配置表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //报表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long reportId;

    //报表类型")
    private Integer chartsType;

    // 统计项目")
    private List<String> itemValues;

    //统计列")
    private String itemColValue;

    // 维度统计范围")
    private Integer dimensionRange;

    //排序统计项目")
    private String itemSortValue;

    // 排序列")
    private String itemColSortValue;

    // 排序类型")
    private Integer sortType;

    // 排序取数值")
    private Integer sortNum;
}
