package com.northglass.entity;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Transient;
|
|
import com.northglass.listener.ServerConnection;
|
|
@Entity
|
public class DummyTime extends IdEntity {
|
|
private String number;//落架排序
|
private double time;//时间
|
private String sort; //切割顺序
|
private String total;//峰值
|
|
public DummyTime(String number,double time,String sort,String total){
|
this.number = number;
|
this.time = time;
|
this.sort = sort;
|
this.total = total;
|
}
|
|
public DummyTime(){
|
}
|
|
private ServerConnection serverConnection = new ServerConnection();
|
|
|
|
public String getNumber() {
|
return number;
|
}
|
|
public void setNumber(String number) {
|
this.number = number;
|
}
|
|
public String getTotal() {
|
return total;
|
}
|
|
public void setTotal(String total) {
|
this.total = total;
|
}
|
|
public double getTime() {
|
return time;
|
}
|
|
public void setTime(double time) {
|
this.time = time;
|
}
|
|
public String getSort() {
|
return sort;
|
}
|
|
public void setSort(String sort) {
|
this.sort = sort;
|
}
|
|
@Transient
|
public ServerConnection getServerConnection() {
|
return serverConnection;
|
}
|
|
public void setServerConnection(ServerConnection serverConnection) {
|
this.serverConnection = serverConnection;
|
}
|
}
|