luoyb
2021-05-24 db6a13645ba212dee0ef46548cc3468d30b76873
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
package cc.mrbird.febs.server.hr.entity;
 
import java.io.Serializable;
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;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * name:EmpUnemployment
 * package:cc.mrbird.febs.server.hr.controller
 * description:失业金领取表数据表映射实体
 *
 * @author luoyibo
 * @date 2021-02-01 00:22:28
 * @since JDK1.8
 */
@Data
@TableName("t_emp_unemployment")
@Excel("失业金领取")
public class EmpUnemployment implements Serializable {
 
    //@FieldInfo(name = "unemploymentId", type = "bigint", explain = "失业金领取Id")
    @TableId(value = "unemploymentId")
    private Long unemploymentId = 0L;
 
    //@FieldInfo(name = "empId", type = "bigint", explain = "员工Id")
    @TableField("empId")
    private Long empId = 0L;
 
    @FieldInfo(name = "empNumb", type = "varchar", explain = "编号")
    @TableField("empNumb")
    @ExcelField(value = "编号")
    private String empNumb = "";
    
    @FieldInfo(name = "allDeptName", type = "bit", explain = "部门(护卫点)")
    @ExcelField(value = "部门(护卫点)")
    @TableField(exist = false)
    private String allDeptName = "";
    
    @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称")
    @TableField("jobName")
    @ExcelField(value = "岗位")
    private String jobName = "";
 
    @FieldInfo(name = "empName", type = "varchar", explain = "姓名")
    @TableField("empName")
    @ExcelField(value = "姓名")
    private String empName = "";
    
    @FieldInfo(name = "certificateNumb", type = "varchar", explain = "身份证号码")
    @TableField("certificateNumb")
    @ExcelField(value = "身份证号码")
    private String certificateNumb = "";
    
    @FieldInfo(name = "applayDate", type = "date", explain = "申请日期")
    @TableField("applayDate")
    @JsonSerialize(using = DateSerializer.class)
    @JsonDeserialize(using = DateDeSerializer.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelField(value = "失业金申请日期", writeConverter = TimeConverter.class)
    private Date applayDate;
    
    @FieldInfo(name = "applayReason", type = "varchar", explain = "申报事由")
    @TableField("applayReason")
    @ExcelField(value = "申报事由")
    private String applayReason = "";
    
    @FieldInfo(name = "reporter", type = "varchar", explain = "报备人")
    @TableField("reporter")
    @ExcelField(value = "汇报人")
    private String reporter = "";
 
    @FieldInfo(name = "auditor", type = "varchar", explain = "审核人")
    @TableField("auditor")
    @ExcelField(value = "审核人")
    private String auditor = "";
 
    @FieldInfo(name = "remark", type = "varchar", explain = "备注")
    @TableField("remark")
    @ExcelField(value = "备注")
    private String remark = "";
    
    
 
    @FieldInfo(name = "sex", type = "varchar", explain = "性别码")
    @TableField("sex")
//    @ExcelField(value = "性别", writeConverterExp = "1=男,2=女")
    private String sex = "";
 
    
 
    //@FieldInfo(name = "deptId", type = "bigint", explain = "部门Id")
    @TableField("deptId")
    private Long deptId = 0L;
 
    @FieldInfo(name = "deptName", type = "varchar", explain = "部门(护卫点)")
    @TableField("deptName")
    private String deptName = "";
 
    //@FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id")
    @TableField("JobId")
    private Long jobId = 0L;
 
   
 
    //@FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间")
    @TableField("createTime")
    @JsonSerialize(using = DateTimeSerializer.class)
    @JsonDeserialize(using = DateTimeDeserializer.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    //@FieldInfo(name = "creator", type = "varchar", explain = "记录创建人")
    @TableField("creator")
    private String creator = "";
 
    //@FieldInfo(name = "modifyTime", type = "datetime", explain = "记录最后更新时间")
    @TableField("modifyTime")
    @JsonSerialize(using = DateTimeSerializer.class)
    @JsonDeserialize(using = DateTimeDeserializer.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;
 
    //@FieldInfo(name = "modifier", type = "varchar", explain = "记录最后更新人")
    @TableField("modifier")
    private String modifier = "";
 
    //@FieldInfo(name = "delFlag", type = "bit", explain = "记录删除标志。0-未删除 1-已删除,默认0")
    @TableField("delFlag")
    private Integer delFlag = 0;
 
    //@FieldInfo(name = "version", type = "int", explain = "记录版本号,用来进行乐观锁控制")
    @TableField("version")
    // @Version
    private Integer version = 0;
 
    @TableField(exist = false)
    private String applayDateStr;
 
    @TableField(exist = false)
    private String empStatus;
 
   
}