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 SalaryStatisticsPushDetailTableDTO {

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

    @TableTitle(title = "姓名", dataIndex = "userName", key = "userName")
    private String userName;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long employeeId;

    @TableTitle(title = "分享时间", dataIndex = "pushTime", key = "pushTime")
    private String pushTime;

    @TableTitle(title = "分享状态", dataIndex = "pushStatus", key = "pushStatus")
    private String pushStatus;

    @TableTitle(title = "查看状态", dataIndex = "viewStatus", key = "viewStatus")
    private String viewStatus;

    @TableTitle(title = "撤回时间", dataIndex = "rebackTime", key = "rebackTime")
    private String rebackTime;

    @TableTitle(title = "撤回状态", dataIndex = "rebackStatus", key = "rebackStatus")
    private String rebackStatus;

}
