UserLine.java
974 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
55
56
57
58
59
60
package com.bsth.entity.sys;
import com.bsth.entity.Line;
import javax.persistence.*;
/**
*
* @ClassName: Line(用户线路分配实体类)
*
* @Description: TODO(用户线路分配实体类)
*
* @Author bsth@lq
*
* @Date 2016年8月26日 09:03:33
*
* @Version 公交调度系统BS版 0.1
*
* PS:这个类缺少主调监控模式的配置,暂不使用
*
*/
@Entity
@Table(name = "bsth_c_user_line")
public class UserLine {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@ManyToOne
private Line line;
@ManyToOne
private SysUser user;
public Line getLine() {
return line;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public void setLine(Line line) {
this.line = line;
}
public SysUser getUser() {
return user;
}
public void setUser(SysUser user) {
this.user = user;
}
}