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

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.SalaryTableColumn;
import com.engine.salary.annotation.SalaryTableOperate;
import com.engine.salary.annotation.TableTitle;
import com.engine.salary.util.excel.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Harryxzy
 * @date 2023/01/09 13:42
 * @description 薪资账套-人员范围-导入
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "a4f85287-e3f9-6614-adn9-7d06e54y6rj8", tableType = WeaTableType.CHECKBOX, operates = {
        @SalaryTableOperate(text = "查看明细")
})
public class SalarySobRangeImportListDTO {

    //主键id
    @SalaryTableColumn(column = "id", display = false)
    private Long id;

    //姓名
    @SalaryTableColumn(text = "姓名", width = "10%", column = "username")
    @TableTitle(title = "姓名", dataIndex = "username", key = "username")
    @ExcelProperty(index = 0)
    private String username;


    //部门
    @SalaryTableColumn(text = "部门", width = "10%", column = "departmentName")
    @TableTitle(title = "部门", dataIndex = "departmentName", key = "departmentName")
    @ExcelProperty(index = 1)
    private String departmentName;

    //手机号
    @SalaryTableColumn(text = "手机号", width = "10%", column = "mobile")
    @TableTitle(title = "手机号", dataIndex = "mobile", key = "mobile")
    @ExcelProperty(index = 2)
    private String mobile;

    //工号
    @SalaryTableColumn(text = "工号", width = "10%", column = "jobNum")
    @TableTitle(title = "工号", dataIndex = "jobNum", key = "jobNum")
    @ExcelProperty(index = 3)
    private String jobNum;

    //人员状态
    @SalaryTableColumn(text = "员工状态", width = "10%", column = "employeeStatus")
    @TableTitle(title = "员工状态", dataIndex = "employeeStatus", key = "employeeStatus")
    @ExcelProperty(index = 4)
    private String employeeStatus;

}
