package com.northglass.entity;
|
|
import javax.persistence.CascadeType;
|
import javax.persistence.Entity;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
import com.northglass.listener.ServerConnection;
|
|
@Entity
|
@Table(name = "gmms_preprocessing_glass")
|
public class PreprocessingGlass extends IdEntity {
|
|
private long glassId;
|
private double actualLength;
|
private double actualWidth;
|
private double width;
|
private double length;
|
private String statu;
|
private String color;
|
private double thickness;
|
private int groups;
|
private int marking;
|
private double minwidths;
|
|
//是否手工匹配
|
private long flag;
|
|
public PreprocessingGlass() {
|
|
}
|
|
public PreprocessingGlass(double actualLength, double actualwidth) {
|
this.actualLength = actualLength;
|
this.actualWidth = actualwidth;
|
}
|
|
private ServerConnection serverConnection = new ServerConnection();
|
|
@Transient
|
public ServerConnection getServerConnection() {
|
return serverConnection;
|
}
|
|
public void setServerConnection(ServerConnection serverConnection) {
|
this.serverConnection = serverConnection;
|
}
|
|
public long getFlag() {
|
return flag;
|
}
|
|
public void setFlag(long flag) {
|
this.flag = flag;
|
}
|
|
public int getGroups() {
|
return groups;
|
}
|
|
public void setGroups(int groups) {
|
this.groups = groups;
|
}
|
|
public int getMarking() {
|
return marking;
|
}
|
|
public void setMarking(int marking) {
|
this.marking = marking;
|
}
|
|
public long getGlassId() {
|
return glassId;
|
}
|
|
public void setGlassId(long glassId) {
|
this.glassId = glassId;
|
}
|
|
public double getActualLength() {
|
return actualLength;
|
}
|
|
public void setActualLength(double actualLength) {
|
this.actualLength = actualLength;
|
}
|
|
public double getActualWidth() {
|
return actualWidth;
|
}
|
|
public void setActualWidth(double actualWidth) {
|
this.actualWidth = actualWidth;
|
}
|
|
public double getWidth() {
|
return width;
|
}
|
|
public void setWidth(double width) {
|
this.width = width;
|
}
|
|
public double getLength() {
|
return length;
|
}
|
|
public void setLength(double length) {
|
this.length = length;
|
}
|
|
public double getMinwidths() {
|
return minwidths;
|
}
|
|
public void setMinwidths(double minwidths) {
|
this.minwidths = minwidths;
|
}
|
|
|
public String getStatu() {
|
return statu;
|
}
|
|
public void setStatu(String statu) {
|
this.statu = statu;
|
}
|
|
public String getColor() {
|
return color;
|
}
|
|
public void setColor(String color) {
|
this.color = color;
|
}
|
|
public double getThickness() {
|
return thickness;
|
}
|
|
public void setThickness(double thickness) {
|
this.thickness = thickness;
|
}
|
|
}
|