8e2af08dc5d1e9bf69f043df7acf13d294d679aa.svn-base
1.7 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
package com.espeed.centre.pojo;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 项目名称: 统一验证中心系统
* 版权所有: 深圳市科飞时速网络技术有限公司(0755-88843776)
* 技术支持: info@21gmail.com
* 单元名称: 中央数据库登录实体类
* 开始时间: 2017.09.29
* 开发人员: 陈南巧
*/
@Entity
@Table(name="centre_login")
public class CentreLogin implements Serializable
{
private static final long serialVersionUID = 1L;
private int id;//主键id
private int user_id;//用户id
private int identity_type;//登录类型
private String identity;//登录标识
private String credential;//登录凭证
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getUser_id() {
return user_id;
}
public void setUser_id(int user_id) {
this.user_id = user_id;
}
public int getIdentity_type() {
return identity_type;
}
public void setIdentity_type(int identity_type) {
this.identity_type = identity_type;
}
public String getIdentity() {
return identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public String getCredential() {
return credential;
}
public void setCredential(String credential) {
this.credential = credential;
}
@Override
public String toString() {
return "CentreLogin [id=" + id + ", user_id=" + user_id
+ ", identity_type=" + identity_type + ", identity=" + identity
+ ", credential=" + credential + "]";
}
}