RosteringExportModel.java
986 Bytes
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
package com.pipihelper.project.rostering.model;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import java.util.Date;
/**
* @description:
* @author: zsw
* @create: 2022-10-14 16:52
**/
@Data
public class RosteringExportModel {
private String department;
private String dingId;
private String jobNo;
/**
* 名字
*/
private String name;
/**
* 班次
*/
private String shift;
/**
* 时间
*/
private Date date;
/**
* 周
*/
private String week;
public static void main(String[] args) {
RosteringExportModel model = new RosteringExportModel();
model.setDate(DateUtil.parse("2022-10-16 00:00:00"));
model.setName("文潇");
model.setWeek("周一");
model.setShift("早班");
System.out.println(JSONObject.toJSONString(model));
}
}