package com.northglass.entity;
|
|
import java.util.Date;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
import com.northglass.listener.ServerConnection;
|
|
@Entity
|
@Table(name="gmms_gaoliwei_statu")
|
public class GaoliweiStatu extends IdEntity {
|
|
//消息类型
|
//PLCID
|
//MESID
|
//时间
|
private String messagetype;
|
private String glassid;
|
private String plcid;
|
private String mesid;
|
private Date setTime;
|
private String message;
|
|
public GaoliweiStatu( String plcid, String mesid){
|
this.plcid = plcid;
|
this.mesid = mesid;
|
}
|
|
public GaoliweiStatu(){
|
}
|
|
private ServerConnection serverConnection = new ServerConnection();
|
|
@Transient
|
public ServerConnection getServerConnection() {
|
return serverConnection;
|
}
|
|
public void setServerConnection(ServerConnection serverConnection) {
|
this.serverConnection = serverConnection;
|
}
|
|
public String getPlcid() {
|
return plcid;
|
}
|
|
public void setPlcid(String plcid) {
|
this.plcid = plcid;
|
}
|
|
public String getMesid() {
|
return mesid;
|
}
|
|
public void setMesid(String mesid) {
|
this.mesid = mesid;
|
}
|
|
public Date getSetTime() {
|
return setTime;
|
}
|
|
public void setSetTime(Date setTime) {
|
this.setTime = setTime;
|
}
|
|
public String getMessagetype() {
|
return messagetype;
|
}
|
|
public void setMessagetype(String messagetype) {
|
this.messagetype = messagetype;
|
}
|
|
public String getMessage() {
|
return message;
|
}
|
|
public void setMessage(String message) {
|
this.message = message;
|
}
|
|
public String getGlassid() {
|
return glassid;
|
}
|
|
public void setGlassid(String glassid) {
|
this.glassid = glassid;
|
}
|
|
}
|