SignControl.java
1.61 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
package com.bsth.entity.sys;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
*
* @ClassName: SignControl
* @Description: TODO(进出线调记录)
* @author PanZhao
* @date 2016年7月20日 下午4:50:50
*
*/
@Entity
@Table(name = "bsth_c_sys_sign")
public class SignControl {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@ManyToOne
private SessionLog session;
/** 登出线调时间 */
private Date outDate;
/** 在线时长 */
private Long onLineTimel;
/** 0: 主调模式, 1:监控模式 */
private int signType;
/** 用户名 */
private String userName;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public SessionLog getSession() {
return session;
}
public void setSession(SessionLog session) {
this.session = session;
}
public Date getOutDate() {
return outDate;
}
public void setOutDate(Date outDate) {
this.outDate = outDate;
}
public Long getOnLineTimel() {
return onLineTimel;
}
public void setOnLineTimel(Long onLineTimel) {
this.onLineTimel = onLineTimel;
}
public int getSignType() {
return signType;
}
public void setSignType(int signType) {
this.signType = signType;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
}