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


import com.engine.hrmelog.annotation.ElogTransform;
import com.engine.salary.annotation.TableTitle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 外部人员
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//hrsa_external_employee
@ElogTransform( name = "非系统人员")
public class ExtEmpDTO {

    @ElogTransform(name = "主键id")
    private Long id;

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

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


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

    /**
     * 入职日期
     */
    @TableTitle(title = "入职日期", dataIndex = "companystartdate", key = "companystartdate")
    private String companystartdate;


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

}
