AMPMachine.java
1.69 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
package com.xkl.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;
/**
* 用户数据的domain类
*/
@Entity
@Table(name = "xkl_amp_machine")
public class AMPMachine {
//machine id
@Id
@Column(name = "id")
private long id;
//AMP序列号或机器硬件码
@Column(name = "AMPSerial")
private String AMPSerial;
//上传软件密钥(明文存储)
@Column(name = "secret_key")
private String secretKey;
//所属公司id
@Column(name = "company_id")
private int companyId;
//创建时间
@Column(name = "create_time")
private Timestamp createTime;
//状态(0,不可用;1可用)
@Column(name = "status")
private int status;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getAMPSerial() {
return AMPSerial;
}
public void setAMPSerial(String AMPSerial) {
this.AMPSerial = AMPSerial;
}
public String getSecretKey() {
return secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public int getCompanyId() {
return companyId;
}
public void setCompanyId(int companyId) {
this.companyId = companyId;
}
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
}