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

import com.engine.salary.annotation.TableTitle;
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;

/**
 * @Description: 薪酬统计维度列表
 * @Author: zhangheng
 * @CreateDate: 2023/5/23
 * @Version: v1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryStatisticsPushTableDTO {

    // 主键id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableTitle(title = "分享报表", dataIndex = "reportName", key = "reportName")
    private String reportName;

    // 数据查询有效时间
    @TableTitle(title = "数据查询有效时间", dataIndex = "effectiveTime", key = "effectiveTime")
    private String effectiveTime;

    // 分享成功的被分享人
    @TableTitle(title = "分享成功的被分享人", dataIndex = "successPush", key = "successPush")
    private String successPush;

    // 被分享人查看情况
    @TableTitle(title = "被分享人查看情况", dataIndex = "sharedView", key = "sharedView")
    private String sharedView;

}
