|
|
@@ -78,13 +78,13 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
|
|
|
// 当前的申请的这一批的单号
|
|
|
@Column(name = "rel_batchid")
|
|
|
- private String relbatchid;
|
|
|
+ private String relbatchid = "";
|
|
|
|
|
|
/**
|
|
|
* 批次号,批量修改使用
|
|
|
*/
|
|
|
@Column(name = "rel_batchcode")
|
|
|
- private String batchCode;
|
|
|
+ private String batchCode = "";
|
|
|
|
|
|
/**
|
|
|
* 上下架状态,批量修改使用
|
|
|
@@ -99,31 +99,31 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 寄售-自营
|
|
|
*/
|
|
|
@Column(name = "rel_sale_method")
|
|
|
- private String saleMethod;
|
|
|
+ private String saleMethod = "";
|
|
|
|
|
|
/**
|
|
|
* 产品中文品牌
|
|
|
*/
|
|
|
@Column(name = "rel_brandcn")
|
|
|
- private String brandNameCn;
|
|
|
+ private String brandNameCn = "";
|
|
|
|
|
|
/**
|
|
|
* 产品英文品牌
|
|
|
*/
|
|
|
@Column(name = "rel_branden")
|
|
|
- private String brandNameEn;
|
|
|
+ private String brandNameEn = "";
|
|
|
|
|
|
/**
|
|
|
* 商城品牌中文
|
|
|
*/
|
|
|
@Column(name = "rel_b2cbrandcn")
|
|
|
- private String b2cBrandcn;
|
|
|
+ private String b2cBrandcn = "";
|
|
|
|
|
|
/**
|
|
|
* 品牌品牌uuid
|
|
|
*/
|
|
|
@Column(name = "rel_b2cbranden")
|
|
|
- private String b2cBranden;
|
|
|
+ private String b2cBranden = "";
|
|
|
|
|
|
/**
|
|
|
* 品牌id
|
|
|
@@ -135,31 +135,31 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 品牌品牌uuid
|
|
|
*/
|
|
|
@Column(name = "rel_b2cbranduuid")
|
|
|
- private String branduuid;
|
|
|
+ private String branduuid = "";
|
|
|
|
|
|
/**
|
|
|
* 产品型号
|
|
|
*/
|
|
|
@Column(name = "rel_code")
|
|
|
- private String code;
|
|
|
+ private String code = "";
|
|
|
|
|
|
/**
|
|
|
* 产品型号
|
|
|
*/
|
|
|
@Column(name = "rel_b2ccode")
|
|
|
- private String b2cCode;
|
|
|
+ private String b2cCode = "";
|
|
|
|
|
|
/**
|
|
|
* 产品UUId
|
|
|
*/
|
|
|
@Column(name = "rel_b2cuuid")
|
|
|
- private String componentUuId;
|
|
|
+ private String componentUuId = "";
|
|
|
|
|
|
/**
|
|
|
* 单位
|
|
|
*/
|
|
|
@Column(name = "rel_unit")
|
|
|
- private String unit;
|
|
|
+ private String unit = "";
|
|
|
|
|
|
/**
|
|
|
* 库存类型 :1311 现货,1312 呆滞库存(暂时不用)1313 废料
|
|
|
@@ -177,7 +177,7 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 发布库存量的字符串
|
|
|
*/
|
|
|
@Column(name = "rel_publishreservestr")
|
|
|
- private String reserveStr;
|
|
|
+ private String reserveStr = "";
|
|
|
|
|
|
/**
|
|
|
* 最小起定量
|
|
|
@@ -189,13 +189,13 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 最小起定量String 类型
|
|
|
*/
|
|
|
@Column(name = "rel_minbuyqtystr")
|
|
|
- private String minBuyQtyStr;
|
|
|
+ private String minBuyQtyStr = "";
|
|
|
|
|
|
/**
|
|
|
* 分段报价(JSON串) eg:[{"start":0,"end":1000,"price":2.3,"taxPrice":2.5},...]
|
|
|
*/
|
|
|
@Column(name = "rel_qtyprice", length = 4000)
|
|
|
- private String qtyPrice;
|
|
|
+ private String qtyPrice = "";
|
|
|
|
|
|
/**
|
|
|
* 分段报价(List)
|
|
|
@@ -207,13 +207,13 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 产品生产日期
|
|
|
*/
|
|
|
@Column(name = "rel_manufacturedate")
|
|
|
- private String productDate;
|
|
|
+ private String productDate = "";
|
|
|
|
|
|
/**
|
|
|
* 成本单价字符串
|
|
|
*/
|
|
|
@Column(name = "rel_cost_price_str")
|
|
|
- private String costPriceStr;
|
|
|
+ private String costPriceStr = "";
|
|
|
|
|
|
/**
|
|
|
* 成本单价
|
|
|
@@ -237,7 +237,7 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 产品最小包装量
|
|
|
*/
|
|
|
@Column(name = "rel_minpackagestr")
|
|
|
- private String minPackageStr;
|
|
|
+ private String minPackageStr = "";
|
|
|
|
|
|
/**
|
|
|
* 是否可拆卖
|
|
|
@@ -249,31 +249,31 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 是否
|
|
|
*/
|
|
|
@Column(name = "rel_breakupstr")
|
|
|
- private String breakUpStr;
|
|
|
+ private String breakUpStr = "";
|
|
|
|
|
|
/**
|
|
|
* 包装:托盘、管装、卷带
|
|
|
*/
|
|
|
@Column(name = "rel_packaging")
|
|
|
- private String packaging;
|
|
|
+ private String packaging = "";
|
|
|
|
|
|
/**
|
|
|
* 封装
|
|
|
*/
|
|
|
@Column(name = "rel_encapsulation")
|
|
|
- private String encapsulation;
|
|
|
+ private String encapsulation = "";
|
|
|
|
|
|
/**
|
|
|
* 标签,用户填写
|
|
|
*/
|
|
|
@Column(name = "rel_tag_str")
|
|
|
- private String tagstr;
|
|
|
+ private String tagstr = "";
|
|
|
|
|
|
/**
|
|
|
* 标签,保存
|
|
|
*/
|
|
|
@Column(name = "rel_tag")
|
|
|
- private String tag;
|
|
|
+ private String tag = "";
|
|
|
|
|
|
/**
|
|
|
* 自己填写最长交期
|
|
|
@@ -291,37 +291,37 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 自己填写最长交期 String
|
|
|
*/
|
|
|
@Column(name = "rel_selfmaxdeliverystr")
|
|
|
- private String selfMaxDeliveryStr;
|
|
|
+ private String selfMaxDeliveryStr = "";
|
|
|
|
|
|
/**
|
|
|
* 自己填写最短交期 String
|
|
|
*/
|
|
|
@Column(name = "rel_selfmindeliverystr")
|
|
|
- private String selfMinDeliveryStr;
|
|
|
+ private String selfMinDeliveryStr = "";
|
|
|
|
|
|
/**
|
|
|
* 尺寸(pcb)
|
|
|
*/
|
|
|
@Column(name = "rel_size")
|
|
|
- private String sizePcb;
|
|
|
+ private String sizePcb = "";
|
|
|
|
|
|
/**
|
|
|
* 颜色(pcb)
|
|
|
*/
|
|
|
@Column(name = "rel_color")
|
|
|
- private String color;
|
|
|
+ private String color = "";
|
|
|
|
|
|
/**
|
|
|
* 铜厚(pcb)
|
|
|
*/
|
|
|
@Column(name = "rel_thickcopper")
|
|
|
- private String thickCopper;
|
|
|
+ private String thickCopper = "";
|
|
|
|
|
|
/**
|
|
|
* 厚度(pcb)
|
|
|
*/
|
|
|
@Column(name = "rel_thick")
|
|
|
- private String thick;
|
|
|
+ private String thick = "";
|
|
|
|
|
|
// /**
|
|
|
// * 商城最长交期
|
|
|
@@ -363,13 +363,13 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 备注
|
|
|
*/
|
|
|
@Column(name = "rel_remark")
|
|
|
- private String remark;
|
|
|
+ private String remark = "";
|
|
|
|
|
|
/**
|
|
|
* 发布人姓名
|
|
|
*/
|
|
|
@Column(name = "rel_publishername")
|
|
|
- private String publisherName;
|
|
|
+ private String publisherName = "";
|
|
|
|
|
|
/**
|
|
|
* 发布人UU
|
|
|
@@ -381,13 +381,13 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 联系电话
|
|
|
*/
|
|
|
@Column(name = "rel_publishertel")
|
|
|
- private String publisherTel;
|
|
|
+ private String publisherTel = "";
|
|
|
|
|
|
/**
|
|
|
* 币别
|
|
|
*/
|
|
|
@Column(name = "rel_currency")
|
|
|
- private String currency;
|
|
|
+ private String currency = "";
|
|
|
|
|
|
/**
|
|
|
* 样品数
|
|
|
@@ -433,37 +433,37 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 发货地区
|
|
|
*/
|
|
|
@Column(name = "rel_shiparea")
|
|
|
- private String shipArea;
|
|
|
+ private String shipArea = "";
|
|
|
|
|
|
/**
|
|
|
* 最小包单价(人民币)
|
|
|
*/
|
|
|
@Column(name = "rel_rmbprice")
|
|
|
- private Double rmbMinPackPrice;
|
|
|
+ private Double rmbMinPackPrice = 0d;
|
|
|
|
|
|
/**
|
|
|
* 最小包单价(美元)
|
|
|
*/
|
|
|
@Column(name = "rel_usdprice")
|
|
|
- private Double usdMinPackPrice;
|
|
|
+ private Double usdMinPackPrice = 0d;
|
|
|
|
|
|
/**
|
|
|
* 最小包价格String 类型
|
|
|
*/
|
|
|
@Column(name = "rel_minpackpricestr")
|
|
|
- private String minPackPriceStr;
|
|
|
+ private String minPackPriceStr = "";
|
|
|
|
|
|
/**
|
|
|
* 图片path,便于发布
|
|
|
*/
|
|
|
@Column(name = "rel_img")
|
|
|
- private String img;
|
|
|
+ private String img = "";
|
|
|
|
|
|
/**
|
|
|
* 类目名称,便于发布
|
|
|
*/
|
|
|
@Column(name = "rel_b2ckindname")
|
|
|
- private String kindName;
|
|
|
+ private String kindName = "";
|
|
|
|
|
|
/**
|
|
|
* 类目ID
|
|
|
@@ -475,37 +475,37 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 第一个分段数量
|
|
|
*/
|
|
|
@Column(name = "rel_qty1str")
|
|
|
- private String qty1Str;
|
|
|
+ private String qty1Str = "";
|
|
|
|
|
|
/**
|
|
|
* 第二个分段数量
|
|
|
*/
|
|
|
@Column(name = "rel_qty2str")
|
|
|
- private String qty2Str;
|
|
|
+ private String qty2Str = "";
|
|
|
|
|
|
/**
|
|
|
* 第三个分段数量
|
|
|
*/
|
|
|
@Column(name = "rel_qty3str")
|
|
|
- private String qty3Str;
|
|
|
+ private String qty3Str = "";
|
|
|
|
|
|
/**
|
|
|
* 第一个分段的价格
|
|
|
*/
|
|
|
@Column(name = "rel_price1")
|
|
|
- private String price1;
|
|
|
+ private String price1 = "";
|
|
|
|
|
|
/**
|
|
|
* 第二个分段的价格
|
|
|
*/
|
|
|
@Column(name = "rel_price2")
|
|
|
- private String price2;
|
|
|
+ private String price2 = "";
|
|
|
|
|
|
/**
|
|
|
* 第三个分段的价格
|
|
|
*/
|
|
|
@Column(name = "rel_price3")
|
|
|
- private String price3;
|
|
|
+ private String price3 = "";
|
|
|
|
|
|
/**
|
|
|
* 错误的信息
|
|
|
@@ -517,25 +517,25 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 本批次的最低人民币价格
|
|
|
*/
|
|
|
@Column(name = "rel_minpricermb")
|
|
|
- private Double minPriceRMB;
|
|
|
+ private Double minPriceRMB = 0.0d;
|
|
|
|
|
|
/**
|
|
|
* 本批次的最高人民币价格
|
|
|
*/
|
|
|
@Column(name = "rel_maxpricermb")
|
|
|
- private Double maxPriceRMB;
|
|
|
+ private Double maxPriceRMB = 0.0d;
|
|
|
|
|
|
/**
|
|
|
* 本批次的最低美元价格
|
|
|
*/
|
|
|
@Column(name = "rel_minpriceusd")
|
|
|
- private Double minPriceUSD;
|
|
|
+ private Double minPriceUSD = 0.0d;
|
|
|
|
|
|
/**
|
|
|
* 本批次的最高美元价格
|
|
|
*/
|
|
|
@Column(name = "rel_maxpriceusd")
|
|
|
- private Double maxPriceUSD;
|
|
|
+ private Double maxPriceUSD = 0.0d;
|
|
|
|
|
|
/**
|
|
|
* 店铺的id
|
|
|
@@ -553,7 +553,7 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 规格信息
|
|
|
*/
|
|
|
@Column(name = "rel_spec")
|
|
|
- private String spec;
|
|
|
+ private String spec = "";
|
|
|
|
|
|
/**
|
|
|
* 物料id信息
|
|
|
@@ -571,7 +571,7 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 规格书信息
|
|
|
*/
|
|
|
@Column(name = "rel_attach")
|
|
|
- private String attach;
|
|
|
+ private String attach = "";
|
|
|
|
|
|
/***
|
|
|
* 在售的数量
|
|
|
@@ -583,9 +583,7 @@ public class ReleaseProductByBatch implements Serializable {
|
|
|
* 第几条
|
|
|
*/
|
|
|
@Column(name = "rel_num")
|
|
|
- private Integer num;
|
|
|
-
|
|
|
-// private Short repeat;
|
|
|
+ private Integer num = 1;
|
|
|
|
|
|
@Override
|
|
|
public boolean equals(Object o) {
|