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

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.salary.annotation.Auth;
import com.engine.salary.annotation.I18n;
import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.TableTitle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Set;

/**
 * 浮动薪资档案列表
 * <p>Copyright: Copyright (c) 2024</p>
 * <p>Company: 泛微软件</p>
 *
 * @author xzy
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "bd985583-f84j-p2aj-p288-2hw3hosy6r6,", tableType = WeaTableType.CHECKBOX)
@Auth(page = "variableArchive")
public class VariableArchiveListDTO {

    @TableTitle(title = "id", dataIndex = "id", key = "id")
    private Long id;

    @TableTitle(title = "人员信息表的主键id", dataIndex = "employeeId", key = "employeeId")
    private Long employeeId;

    private Date salaryMonth;

    /**
     * 个税扣缴义务人
     */
    @TableTitle(title = "个税扣缴义务人", dataIndex = "taxAgentName", key = "taxAgentName")
    @I18n
    private String taxAgentName;

    /**
     * 个税扣缴义务人id
     */
    private Long taxAgentId;

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

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

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

    /**
     * 电话
     */
    @TableTitle(title = "电话", dataIndex = "mobile", key = "mobile")
    private String mobile;


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

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

    /**
     * 入职日期
     */
    private String companystartdate;

    /**
     * 离职日期
     */
    private String dismissdate;

    private Set<String> opts;

}
