|
|
@@ -92,19 +92,6 @@ public class Product {
|
|
|
@Column(name = "pr_ltinstock")
|
|
|
private Double ltinstock;
|
|
|
|
|
|
- /**
|
|
|
- * 状态
|
|
|
- */
|
|
|
- @Column(name = "pr_status")
|
|
|
- @StatusColumn
|
|
|
- private Integer status;
|
|
|
-
|
|
|
- /**
|
|
|
- * 库存数
|
|
|
- */
|
|
|
- @Column(name = "pr_stock")
|
|
|
- private Double stock;
|
|
|
-
|
|
|
/**
|
|
|
* 价格
|
|
|
*/
|
|
|
@@ -117,12 +104,6 @@ public class Product {
|
|
|
@Column(name = "pr_brand")
|
|
|
private String brand;
|
|
|
|
|
|
- /**
|
|
|
- * 发货地址
|
|
|
- */
|
|
|
- @Column(name = "pr_shipaddr")
|
|
|
- private String shipAddr;
|
|
|
-
|
|
|
/**
|
|
|
* 买方ERP物料ID
|
|
|
*/
|
|
|
@@ -198,9 +179,8 @@ public class Product {
|
|
|
/**
|
|
|
* 附件
|
|
|
*/
|
|
|
- @OneToOne(cascade = { CascadeType.ALL })
|
|
|
- @JoinColumn(name = "pr_attachment")
|
|
|
- private Attach attach;
|
|
|
+ @Column(name = "pr_attachment")
|
|
|
+ private String attachment;
|
|
|
|
|
|
/**
|
|
|
* 类目(平台)(中文)
|
|
|
@@ -220,12 +200,6 @@ public class Product {
|
|
|
@Column(name = "pr_pcmpcode")
|
|
|
private String pcmpcode;
|
|
|
|
|
|
- /**
|
|
|
- * 信息提示(导入物料时给出提示)
|
|
|
- */
|
|
|
- @Column(name = "pr_message")
|
|
|
- private String message;
|
|
|
-
|
|
|
/**
|
|
|
* 是否是标准物料<br>
|
|
|
* 1.YES<br>
|
|
|
@@ -270,14 +244,6 @@ public class Product {
|
|
|
@Column(name = "pr_downloadstatus")
|
|
|
private Integer downloadstatus;
|
|
|
|
|
|
- /**
|
|
|
- * 是否有业务逻辑关系<br>
|
|
|
- * 1. 是<br>
|
|
|
- * 0. 否
|
|
|
- */
|
|
|
- @Column(name = "pr_isbusiness")
|
|
|
- private Short isbusiness;
|
|
|
-
|
|
|
/**
|
|
|
* 图片
|
|
|
*/
|
|
|
@@ -285,27 +251,11 @@ public class Product {
|
|
|
private String img;
|
|
|
|
|
|
/**
|
|
|
- * 包装
|
|
|
+ * 封装
|
|
|
*/
|
|
|
@Column(name = "pr_encapsulation")
|
|
|
private String encapsulation;
|
|
|
|
|
|
- /**
|
|
|
- * b2c可用状态;<br>
|
|
|
- * 1 为不存在相同的记录。<br>
|
|
|
- * 0 为已经存在相同的记录
|
|
|
- */
|
|
|
- @Column(name = "pr_b2cenabled")
|
|
|
- private Short b2cenabled;
|
|
|
-
|
|
|
- /**
|
|
|
- * uas与b2b可用状态;<br>
|
|
|
- * 1 已禁用 <br>
|
|
|
- * 0 可用状态,未禁用
|
|
|
- */
|
|
|
- @Column(name = "pr_b2benabled")
|
|
|
- private Short b2benabled;
|
|
|
-
|
|
|
/**
|
|
|
* 匹配成标准的日期
|
|
|
*/
|
|
|
@@ -336,6 +286,71 @@ public class Product {
|
|
|
@Column(name = "pr_taxprecon")
|
|
|
private String taxprecon;
|
|
|
|
|
|
+ /**
|
|
|
+ * ERP库存
|
|
|
+ */
|
|
|
+ @Column(name = "pr_reserve")
|
|
|
+ private Double reserve;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标准类目id
|
|
|
+ */
|
|
|
+ @Column(name = "pr_kindid")
|
|
|
+ private Long kindId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标准品牌id
|
|
|
+ */
|
|
|
+ @Column(name = "pr_pbrandid")
|
|
|
+ private Long pbrandId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标准品牌uuid
|
|
|
+ */
|
|
|
+ @Column(name = "pr_pbranduuid")
|
|
|
+ private Long pbrandUuid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 包装方式
|
|
|
+ */
|
|
|
+ @Column(name = "pr_packaging")
|
|
|
+ private String packaging;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 产品建立时间
|
|
|
+ */
|
|
|
+ @Column(name = "pr_create_time")
|
|
|
+ private Date createTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 产品生产日期
|
|
|
+ */
|
|
|
+ @Column(name = "pr_manufacturedate")
|
|
|
+ private Date manufactureDate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 最大交期
|
|
|
+ */
|
|
|
+ @Column(name = "pr_maxdelivery")
|
|
|
+ private Short maxDelivery;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 最小交期
|
|
|
+ */
|
|
|
+ @Column(name = "pr_mindelivery")
|
|
|
+ private Short minDelivery;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否可拆卖
|
|
|
+ */
|
|
|
+ @Column(name = "pr_isbreakup")
|
|
|
+ private Boolean isBreakUp;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 关联B2B物料状态
|
|
|
+ */
|
|
|
+ @OneToOne(mappedBy = "product", cascade = CascadeType.ALL)
|
|
|
+ private ProductStatus productStatus;
|
|
|
|
|
|
public Product() {
|
|
|
}
|
|
|
@@ -428,22 +443,6 @@ public class Product {
|
|
|
this.leadtime = leadtime;
|
|
|
}
|
|
|
|
|
|
- public Integer getStatus() {
|
|
|
- return status;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStatus(Integer status) {
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public Double getStock() {
|
|
|
- return stock;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStock(Double stock) {
|
|
|
- this.stock = stock;
|
|
|
- }
|
|
|
-
|
|
|
public Double getPrice() {
|
|
|
return price;
|
|
|
}
|
|
|
@@ -460,14 +459,6 @@ public class Product {
|
|
|
this.brand = brand;
|
|
|
}
|
|
|
|
|
|
- public String getShipAddr() {
|
|
|
- return shipAddr;
|
|
|
- }
|
|
|
-
|
|
|
- public void setShipAddr(String shipAddr) {
|
|
|
- this.shipAddr = shipAddr;
|
|
|
- }
|
|
|
-
|
|
|
public Double getLtinstock() {
|
|
|
return ltinstock;
|
|
|
}
|
|
|
@@ -521,14 +512,6 @@ public class Product {
|
|
|
this.sourceApp = sourceApp;
|
|
|
}
|
|
|
|
|
|
- public Attach getAttach() {
|
|
|
- return attach;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAttach(Attach attach) {
|
|
|
- this.attach = attach;
|
|
|
- }
|
|
|
-
|
|
|
public Short getIsSale() {
|
|
|
return isSale;
|
|
|
}
|
|
|
@@ -585,14 +568,6 @@ public class Product {
|
|
|
this.pcmpcode = pcmpcode;
|
|
|
}
|
|
|
|
|
|
- public String getMessage() {
|
|
|
- return message;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMessage(String message) {
|
|
|
- this.message = message;
|
|
|
- }
|
|
|
-
|
|
|
public Short getStandard() {
|
|
|
return standard;
|
|
|
}
|
|
|
@@ -649,14 +624,6 @@ public class Product {
|
|
|
this.downloadstatus = downloadstatus;
|
|
|
}
|
|
|
|
|
|
- public Short getIsbusiness() {
|
|
|
- return isbusiness;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsbusiness(Short isbusiness) {
|
|
|
- this.isbusiness = isbusiness;
|
|
|
- }
|
|
|
-
|
|
|
public String getImg() {
|
|
|
return img;
|
|
|
}
|
|
|
@@ -673,22 +640,6 @@ public class Product {
|
|
|
this.encapsulation = encapsulation;
|
|
|
}
|
|
|
|
|
|
- public Short getB2cenabled() {
|
|
|
- return b2cenabled;
|
|
|
- }
|
|
|
-
|
|
|
- public void setB2cenabled(Short b2cenabled) {
|
|
|
- this.b2cenabled = b2cenabled;
|
|
|
- }
|
|
|
-
|
|
|
- public Short getB2benabled() {
|
|
|
- return b2benabled;
|
|
|
- }
|
|
|
-
|
|
|
- public void setB2benabled(Short b2benabled) {
|
|
|
- this.b2benabled = b2benabled;
|
|
|
- }
|
|
|
-
|
|
|
public Date getTostandard() {
|
|
|
return tostandard;
|
|
|
}
|
|
|
@@ -728,4 +679,100 @@ public class Product {
|
|
|
public void setTaxprecon(String taxprecon) {
|
|
|
this.taxprecon = taxprecon;
|
|
|
}
|
|
|
+
|
|
|
+ public String getAttachment() {
|
|
|
+ return attachment;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAttachment(String attachment) {
|
|
|
+ this.attachment = attachment;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getReserve() {
|
|
|
+ return reserve;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setReserve(Double reserve) {
|
|
|
+ this.reserve = reserve;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getKindId() {
|
|
|
+ return kindId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setKindId(Long kindId) {
|
|
|
+ this.kindId = kindId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getPbrandId() {
|
|
|
+ return pbrandId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPbrandId(Long pbrandId) {
|
|
|
+ this.pbrandId = pbrandId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getPbrandUuid() {
|
|
|
+ return pbrandUuid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPbrandUuid(Long pbrandUuid) {
|
|
|
+ this.pbrandUuid = pbrandUuid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPackaging() {
|
|
|
+ return packaging;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPackaging(String packaging) {
|
|
|
+ this.packaging = packaging;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getManufactureDate() {
|
|
|
+ return manufactureDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setManufactureDate(Date manufactureDate) {
|
|
|
+ this.manufactureDate = manufactureDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Short getMaxDelivery() {
|
|
|
+ return maxDelivery;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMaxDelivery(Short maxDelivery) {
|
|
|
+ this.maxDelivery = maxDelivery;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Short getMinDelivery() {
|
|
|
+ return minDelivery;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMinDelivery(Short minDelivery) {
|
|
|
+ this.minDelivery = minDelivery;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getBreakUp() {
|
|
|
+ return isBreakUp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBreakUp(Boolean breakUp) {
|
|
|
+ isBreakUp = breakUp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ProductStatus getProductStatus() {
|
|
|
+ return productStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProductStatus(ProductStatus productStatus) {
|
|
|
+ this.productStatus = productStatus;
|
|
|
+ }
|
|
|
}
|