LinggangScheduling.java
3.47 KB
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
package com.ruoyi.domain.scheduling;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import java.util.Date;
@Data
@Slf4j
@NoArgsConstructor
@AllArgsConstructor
@TableName("scheduling")
/** 实体*/
public class LinggangScheduling {
/***主键*/
@TableId(value = "id", type = IdType.AUTO)
@Excel(name = "主键")
private Long id;
/***排班日期*/
@Excel(name = "排班日期")
private Date scheduleDate;
/***线路名称*/
@Excel(name = "线路名称")
private String lineName;
/***工号*/
@Excel(name = "工号")
private String jobCode;
/***姓名*/
@Excel(name = "姓名")
private String name;
/***工种*/
@Excel(name = "工种")
private String posts;
/***路牌*/
@Excel(name = "路牌")
private String lpName;
/***车辆自编号*/
@Excel(name = "车辆自编号")
private String nbbm;
/***班次类型;in 进站 ;out 出站*/
@Excel(name = "班次类型;in 进站 ;out 出站")
private String bcType;
/***发车时间*/
@Excel(name = "发车时间")
private Long fcsjT;
/***到站时间*/
@Excel(name = "到站时间")
private Long zdsjT;
/***签到表id*/
@Excel(name = "签到表id")
private Long signInId;
/***记录状态*/
@Excel(name = "记录状态")
private Integer exType;
/***打卡时间*/
@Excel(name = "打卡时间")
private java.util.Date signTime;
/***打卡类型*/
@Excel(name = "打卡类型")
private Integer signType;
/***是否酒精测试*/
@Excel(name = "是否酒精测试")
private Integer alcoholFlag;
/***酒精测试含量*/
@Excel(name = "酒精测试含量")
private java.math.BigDecimal alcoholIntake;
/***原因*/
@Excel(name = "原因")
private String remark;
/***钥匙ID*/
@Excel(name = "钥匙ID")
private Integer keyInfoId;
/***上下行*/
@Excel(name = "上下行")
private java.lang.Integer updown;
/***起点站code*/
@Excel(name = "起点站code")
private java.lang.String qdzcode;
/***起点站名字*/
@Excel(name = "起点站名字")
private java.lang.String qdzname;
/***终点站code*/
@Excel(name = "终点站code")
private java.lang.String zdzcode;
/***终点站名字*/
@Excel(name = "终点站名字")
private java.lang.String zdzname;
/***1:实际排班表;100为计划排班表*/
@Excel(name = "1:实际排班表;100为计划排班表")
@TableField(value = "scheduling_type")
private java.lang.Integer type;
@TableField(exist = false)
private String czCode;
@TableField(exist = false)
private Date startScheduleDate;
@TableField(exist = false)
private Date endScheduleDate;
@TableField(exist = false)
private long fcsjTVal;
@TableField(exist = false)
private long zdsjTVal;
public String getCheZhanCode(){
return StringUtils.join(qdzcode,"@",zdzcode,"@",jobCode,"@");
}
@Override
public String toString() {
return com.alibaba.fastjson2.JSON.toJSONString(this);
}
}