严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
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
package com.northglass.entity;
 
import java.util.Date;
 
import javax.persistence.Entity;
import javax.persistence.Transient;
 
import com.northglass.listener.ServerConnection;
 
@Entity
public class MachineError extends IdEntity {
    private String machinestatu;//机器类型
    private Date setTime;//时间
    private String message;//消息状态
    private String description;//机器类型
    
    public MachineError(String machinestatu,Date setTime, String message){
        this.machinestatu = machinestatu;
        this.setTime = setTime;
        this.message = message;
    }
    
    public MachineError(){
    }
    
    private ServerConnection serverConnection = new ServerConnection();
   
    @Transient
    public ServerConnection getServerConnection() {
        return serverConnection;
    }
 
    public void setServerConnection(ServerConnection serverConnection) {
        this.serverConnection = serverConnection;
    }
 
    public String getMachinestatu() {
        return machinestatu;
    }
 
    public void setMachinestatu(String machinestatu) {
        this.machinestatu = machinestatu;
    }
 
    public Date getSetTime() {
        return setTime;
    }
 
    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }
 
    public String getMessage() {
        return message;
    }
 
    public void setMessage(String message) {
        this.message = message;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
}