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;

/**
 * 薪酬统计员工列表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryStatisticsEmployeeListDTO {

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

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

    //分部
    @TableTitle(title = "分部", dataIndex = "subCompany", key = "subCompany")
    private String subCompany;

    //部门
    @TableTitle(title = "部门", dataIndex = "department", key = "department")
    private String department;

    //岗位
    @TableTitle(title = "岗位", dataIndex = "position", key = "position")
    private String position;

    // 员工状态
    @TableTitle(title = "员工状态", dataIndex = "status", key = "status")
    private String status;

    //工号
    @TableTitle(title = "工号", dataIndex = "jobNum", key = "jobNum")
    private String jobNum;

    //证件号码
    @TableTitle(title = "证件号码", dataIndex = "idNo", key = "idNo")
    private String idNo;

    //人员类型
    private Integer employeeType;
}
