| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | import cc.mrbird.febs.common.core.utils.DateDeSerializer; |
| | | import cc.mrbird.febs.common.core.utils.DateSerializer; |
| | | import cc.mrbird.febs.common.core.utils.DateTimeDeserializer; |
| | | import cc.mrbird.febs.common.core.utils.DateTimeSerializer; |
| | | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_resign") |
| | | @Excel("员工辞职申请") |
| | | public class EmpResign implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -4692256235815402125L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "applayDate", type = "date", explain = "申请日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "申请日期", writeConverter = TimeConverter.class) |
| | | private Date applayDate; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "reason", type = "varchar", explain = "事由") |
| | | @TableField("reason") |
| | | @ExcelField(value = "事由") |
| | | private String reason = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | @TableField("remark") |
| | | private String remark = ""; |
| | | |
| | | @TableField(exist = false) |
| | | private String applayDateStr; |
| | | } |