3 天以前 2d107e5c57fccb1ae1bfcc8b59389fbd0e2c67a5
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
package com.ruoyi.staff.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.util.Date;
 
@Data
public class StaffOnJobImportDto {
 
    @Excel(name = "员工编号", cellType = Excel.ColumnType.STRING, sort = 1)
    private String staffNo;
 
    @Excel(name = "员工姓名", sort = 2)
    private String staffName;
 
    @Excel(name = "性别", sort = 3, combo = {"男", "女"})
    private String sex;
 
    @Excel(name = "籍贯", sort = 4)
    private String nativePlace;
 
    @Excel(name = "岗位", sort = 5, prompt = "请填写系统中已存在的岗位名称")
    private String postName;
 
    @Excel(name = "部门", sort = 6, prompt = "请填写系统中已存在的部门名称")
    private String deptName;
 
    @Excel(name = "现住址", sort = 7)
    private String adress;
 
    @Excel(name = "第一学历", sort = 8)
    private String firstStudy;
 
    @Excel(name = "专业", sort = 9)
    private String profession;
 
    @Excel(name = "年龄", sort = 11)
    private String age;
 
    @Excel(name = "联系电话", cellType = Excel.ColumnType.STRING, sort = 12)
    private String phone;
 
    @Excel(name = "紧急联系人", sort = 13)
    private String emergencyContact;
 
    @Excel(name = "紧急联系人联系电话", cellType = Excel.ColumnType.STRING, sort = 14)
    private String emergencyContactPhone;
 
    @Excel(name = "合同年限", sort = 15)
    private String contractTerm;
 
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同开始日期", width = 30, dateFormat = "yyyy-MM-dd", sort = 16)
    private Date contractStartTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同结束日期", width = 30, dateFormat = "yyyy-MM-dd", sort = 17)
    private Date contractEndTime;
 
}