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_arrange_machine")
|
public class ArrangeMachine extends IdEntity {
|
|
private String number;
|
private String state;
|
private String connectState;
|
private String pictureUrl;
|
private int port;
|
private String ipAddress;
|
private Date modifyTime;
|
|
private ServerConnection serverConnection = new ServerConnection();
|
|
public String getConnectState() {
|
return connectState;
|
}
|
|
public void setConnectState(String connectState) {
|
this.connectState = connectState;
|
}
|
|
public String getNumber() {
|
return number;
|
}
|
|
public void setNumber(String number) {
|
this.number = number;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public String getPictureUrl() {
|
return pictureUrl;
|
}
|
|
public void setPictureUrl(String pictureUrl) {
|
this.pictureUrl = pictureUrl;
|
}
|
|
public int getPort() {
|
return port;
|
}
|
|
public void setPort(int port) {
|
this.port = port;
|
}
|
|
public String getIpAddress() {
|
return ipAddress;
|
}
|
|
public void setIpAddress(String ipAddress) {
|
this.ipAddress = ipAddress;
|
}
|
|
public Date getModifyTime() {
|
return modifyTime;
|
}
|
|
public void setModifyTime(Date modifyTime) {
|
this.modifyTime = modifyTime;
|
}
|
|
@Transient
|
public ServerConnection getServerConnection() {
|
return serverConnection;
|
}
|
|
public void setServerConnection(ServerConnection serverConnection) {
|
this.serverConnection = serverConnection;
|
}
|
}
|