|
|
@@ -0,0 +1,81 @@
|
|
|
+package com.jeesite.modules.mes.entity;
|
|
|
+
|
|
|
+import javax.validation.constraints.Size;
|
|
|
+
|
|
|
+import com.jeesite.common.entity.DataEntity;
|
|
|
+import com.jeesite.common.mybatis.annotation.Column;
|
|
|
+import com.jeesite.common.mybatis.annotation.Table;
|
|
|
+import com.jeesite.common.mybatis.mapper.query.QueryType;
|
|
|
+
|
|
|
+/**
|
|
|
+ * OP050 record Entity.
|
|
|
+ * @author mes
|
|
|
+ * @version 2026-07-30
|
|
|
+ */
|
|
|
+@Table(name="mes_op050_record", alias="a", label="OP050 record", columns={
|
|
|
+ @Column(name="id", attrName="id", label="id", isPK=true),
|
|
|
+ @Column(name="sn", attrName="sn", label="sn", queryType=QueryType.EQ),
|
|
|
+ @Column(name="oprno", attrName="oprno", label="oprno", queryType=QueryType.EQ),
|
|
|
+ @Column(name="line_sn", attrName="lineSn", label="lineSn", queryType=QueryType.EQ),
|
|
|
+ @Column(name="ucode", attrName="ucode", label="ucode", queryType=QueryType.EQ),
|
|
|
+ @Column(name="remarks", attrName="remarks", label="remarks", queryType=QueryType.LIKE),
|
|
|
+ @Column(name="status", attrName="status", label="status", isUpdate=false),
|
|
|
+ @Column(name="create_by", attrName="createBy", label="create_by", isUpdate=false, isQuery=false),
|
|
|
+ @Column(name="create_date", attrName="createDate", label="create_date", isUpdate=false, isQuery=false, isUpdateForce=true),
|
|
|
+ @Column(name="update_by", attrName="updateBy", label="update_by", isQuery=false),
|
|
|
+ @Column(name="update_date", attrName="updateDate", label="update_date", isQuery=false, isUpdateForce=true),
|
|
|
+ }, orderBy="a.create_date DESC, a.id DESC"
|
|
|
+)
|
|
|
+public class MesOp050Record extends DataEntity<MesOp050Record> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ private String sn;
|
|
|
+ private String oprno;
|
|
|
+ private String lineSn;
|
|
|
+ private String ucode;
|
|
|
+
|
|
|
+ public MesOp050Record() {
|
|
|
+ this(null);
|
|
|
+ }
|
|
|
+
|
|
|
+ public MesOp050Record(String id) {
|
|
|
+ super(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Size(min=0, max=100, message="sn length must be less than 100")
|
|
|
+ public String getSn() {
|
|
|
+ return sn;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSn(String sn) {
|
|
|
+ this.sn = sn;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Size(min=0, max=50, message="oprno length must be less than 50")
|
|
|
+ public String getOprno() {
|
|
|
+ return oprno;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOprno(String oprno) {
|
|
|
+ this.oprno = oprno;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Size(min=0, max=100, message="lineSn length must be less than 100")
|
|
|
+ public String getLineSn() {
|
|
|
+ return lineSn;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLineSn(String lineSn) {
|
|
|
+ this.lineSn = lineSn;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Size(min=0, max=100, message="ucode length must be less than 100")
|
|
|
+ public String getUcode() {
|
|
|
+ return ucode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUcode(String ucode) {
|
|
|
+ this.ucode = ucode;
|
|
|
+ }
|
|
|
+}
|