|
|
@@ -57,7 +57,7 @@ import java.util.List;
|
|
|
orderBy="a.id"
|
|
|
)
|
|
|
public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
-
|
|
|
+
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
private String sn; // 产品二维码
|
|
|
private String oprno; // 工位号
|
|
|
@@ -84,6 +84,8 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
private String oprnoTitle;
|
|
|
private String source;;//修改来源
|
|
|
private String oprno2;
|
|
|
+ private String testPressure; // 测试压
|
|
|
+ private String leakVal; // 泄漏值
|
|
|
private List imgList = ListUtils.newArrayList();
|
|
|
private List fileList = ListUtils.newArrayList();
|
|
|
|
|
|
@@ -105,11 +107,11 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public MesProductRecord() {
|
|
|
this(null);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public MesProductRecord(String id){
|
|
|
super(id);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=50, message="产品二维码长度不能超过 50 个字符")
|
|
|
public String getSn() {
|
|
|
return sn;
|
|
|
@@ -118,7 +120,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setSn(String sn) {
|
|
|
this.sn = sn;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=20, message="工位号长度不能超过 20 个字符")
|
|
|
public String getOprno() {
|
|
|
return oprno;
|
|
|
@@ -127,7 +129,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setOprno(String oprno) {
|
|
|
this.oprno = oprno;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=30, message="工艺号长度不能超过 30 个字符")
|
|
|
public String getCraft() {
|
|
|
return craft;
|
|
|
@@ -136,7 +138,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setCraft(String craft) {
|
|
|
this.craft = craft;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public Integer getSerial() {
|
|
|
return serial;
|
|
|
}
|
|
|
@@ -144,7 +146,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setSerial(Integer serial) {
|
|
|
this.serial = serial;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=50, message="报文类型长度不能超过 50 个字符")
|
|
|
public String getMessageType() {
|
|
|
return messageType;
|
|
|
@@ -153,7 +155,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setMessageType(String messageType) {
|
|
|
this.messageType = messageType;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=30, message="工件类型长度不能超过 30 个字符")
|
|
|
public String getCateSn() {
|
|
|
return cateSn;
|
|
|
@@ -162,7 +164,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setCateSn(String cateSn) {
|
|
|
this.cateSn = cateSn;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=50, message="物料批次二维码长度不能超过 50 个字符")
|
|
|
public String getMaterielSn() {
|
|
|
return materielSn;
|
|
|
@@ -171,7 +173,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setMaterielSn(String materielSn) {
|
|
|
this.materielSn = materielSn;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=1000, message="结果长度不能超过 1000 个字符")
|
|
|
public String getContent() {
|
|
|
return content;
|
|
|
@@ -180,7 +182,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setContent(String content) {
|
|
|
this.content = content;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=255, message="备注长度不能超过 255 个字符")
|
|
|
public String getRemark() {
|
|
|
return remark;
|
|
|
@@ -189,7 +191,7 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setRemark(String remark) {
|
|
|
this.remark = remark;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=64, message="父级id长度不能超过 64 个字符")
|
|
|
public String getPid() {
|
|
|
return pid;
|
|
|
@@ -323,6 +325,22 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
this.oprnoTitle = oprnoTitle;
|
|
|
}
|
|
|
|
|
|
+ public String getTestPressure() {
|
|
|
+ return testPressure;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTestPressure(String testPressure) {
|
|
|
+ this.testPressure = testPressure;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getLeakVal() {
|
|
|
+ return leakVal;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLeakVal(String leakVal) {
|
|
|
+ this.leakVal = leakVal;
|
|
|
+ }
|
|
|
+
|
|
|
public String getSource() {
|
|
|
return source;
|
|
|
}
|
|
|
@@ -354,4 +372,4 @@ public class MesProductRecord extends DataEntity<MesProductRecord> {
|
|
|
public void setFileList(List fileList) {
|
|
|
this.fileList = fileList;
|
|
|
}
|
|
|
-}
|
|
|
+}
|