EmployeeConfigInfo.java
2.35 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
package com.bsth.entity.schedule;
import javax.persistence.*;
import java.util.Date;
/**
* 人员配置信息。
* TODO:暂时这样写,演示后重新修正
*/
@Entity
@Table(name = "bsth_c_s_ecinfo")
public class EmployeeConfigInfo {
/** 主键Id */
@Id
@GeneratedValue
private Long id;
/** TODO:等其他实体类完整后,做关联引用 */
/** 线路名称 */
private String xl;
/** 搭班编码(TODO:不懂) */
private String dbbm;
/** 驾驶员工号 */
private String jsygh;
/** 驾驶员 */
private String jsy;
/** 售票员工号 */
private String spygh;
/** 售票员 */
private String spy;
/** 车辆自编号 */
private String zbh;
// 创建日期
@Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
private Date createDate;
// 修改日期
@Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
private Date updateDate;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getXl() {
return xl;
}
public void setXl(String xl) {
this.xl = xl;
}
public String getDbbm() {
return dbbm;
}
public void setDbbm(String dbbm) {
this.dbbm = dbbm;
}
public String getJsy() {
return jsy;
}
public void setJsy(String jsy) {
this.jsy = jsy;
}
public String getSpy() {
return spy;
}
public void setSpy(String spy) {
this.spy = spy;
}
public String getZbh() {
return zbh;
}
public void setZbh(String zbh) {
this.zbh = zbh;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Date getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Date updateDate) {
this.updateDate = updateDate;
}
public String getJsygh() {
return jsygh;
}
public void setJsygh(String jsygh) {
this.jsygh = jsygh;
}
public String getSpygh() {
return spygh;
}
public void setSpygh(String spygh) {
this.spygh = spygh;
}
}