Browse Source

增加采购单规格字段

yujia 7 years ago
parent
commit
b734d7fe92

+ 16 - 0
src/main/java/com/uas/platform/b2c/trade/order/model/PurchaseDetail.java

@@ -330,6 +330,12 @@ public class PurchaseDetail extends Document {
 	@Column(name = "go_b2cmindelivery")
 	private Short b2cMinDelivery;
 
+	/**
+	 * 规格字段
+	 */
+	@Column(name = "go_spec")
+	private String spec;
+
 
 	/********************************* 非持久化字段 *********************************/
 
@@ -1131,6 +1137,7 @@ public class PurchaseDetail extends Document {
 		this.b2cMinDelivery = oDetail.getB2cMinDelivery();
 		this.remark = oDetail.getRemark();
 		this.goodsnumber = oDetail.getGoodsnumber();
+		this.spec = oDetail.getSpec();
 	}
 
 	/**
@@ -1537,6 +1544,15 @@ public class PurchaseDetail extends Document {
 		return null;
 	}
 
+	public String getSpec() {
+		return spec;
+	}
+
+	public PurchaseDetail setSpec(String spec) {
+		this.spec = spec;
+		return this;
+	}
+
 	@Override
 	public String toString() {
 		return "PurchaseDetail [id=" + id + ", detno=" + detno + ", detailid=" + detailid + ", orderdetailid=" + orderdetailid + ", batchCode=" + batchCode + ", uuid=" + uuid + ", billStatus="