package com.ruoyi.staff.dto; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.staff.pojo.StaffLeave; import lombok.Data; @Data public class StaffLeaveDto extends StaffLeave { @Excel(name = "状态", readConverterExp = "0=离职,1=在职", sort = 1) private Integer staffState; /** * 员工编号 */ @Excel(name = "员工编号", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.STRING, sort = 2) private String staffNo; /** * 员工姓名 */ @Excel(name = "员工姓名", sort = 3) private String staffName; /** * 性别 */ @Excel(name = "性别", sort = 4) private String sex; /** * 籍贯 */ @Excel(name = "籍贯", sort = 5) private String nativePlace; /** * 家庭住址 */ @Excel(name = "家庭住址", sort = 6) private String adress; /** * 岗位 */ @Excel(name = "部门",sort = 7) private String deptName; /** * 岗位 */ @Excel(name = "岗位",sort = 8) private String postName; /** * 第一学历 */ @Excel(name = "第一学历", sort = 9) private String firstStudy; /** * 专业 */ @Excel(name = "专业", sort = 10) private String profession; /** * 身份证号码 */ @Excel(name = "身份证号码", sort = 11) private String identityCard; /** * 年龄 */ @Excel(name = "年龄", sort = 12) private String age; /** * 联系电话 */ @Excel(name = "联系电话", sort = 13) private String phone; /** * 紧急联系人 */ @Excel(name = "紧急联系人", sort = 14) private String emergencyContact; /** * 紧急联系人电话 */ @Excel(name = "紧急联系人电话", sort = 15) private String emergencyContactPhone; private int count; /** * 离职原因文本 */ private String reasonText; }