1
0

GoodsDto.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. package com.kmall.admin.dto;
  2. import com.kmall.admin.entity.GoodsAttributeEntity;
  3. import com.kmall.admin.entity.GoodsGalleryEntity;
  4. import com.kmall.admin.entity.ProductEntity;
  5. import java.io.Serializable;
  6. import java.math.BigDecimal;
  7. import java.util.ArrayList;
  8. import java.util.Date;
  9. import java.util.List;
  10. /**
  11. * @author Scott
  12. * @email
  13. * @date 2017-08-13 10:41:08
  14. */
  15. public class GoodsDto implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17. //主键
  18. private Long id;
  19. //商品序列号
  20. private String goodsSn;
  21. //名称
  22. private String name;
  23. //品牌
  24. private String brand;
  25. //商品库存
  26. private String goodsNumber;
  27. //关键字
  28. private String keywords;
  29. //简明介绍
  30. private String goodsBrief;
  31. //商品描述
  32. private String goodsDesc;
  33. //添加时间
  34. private Date addTime;
  35. //排序
  36. private Integer sortOrder;
  37. //库存价格
  38. private String counterPrice;
  39. //附加价格
  40. private String extraPrice;
  41. //商品单位
  42. private String goodsUnit;
  43. //商品税率
  44. private String goodsRate;
  45. //零售价格
  46. private String retailPrice;
  47. //销售量
  48. private Integer sellVolume;
  49. //单位价格,单价
  50. private String unitPrice;
  51. //推广描述
  52. private String promotionDesc;
  53. //市场价
  54. private String marketPrice;
  55. /**
  56. * 产品条码
  57. */
  58. private String prodBarcode;
  59. /**
  60. * 计量单位代码,参见海关编码
  61. */
  62. private String unitCode;
  63. /**
  64. * 海关商品编码
  65. */
  66. private String cusGoodsCode;
  67. /**
  68. * 国检规格型号
  69. */
  70. private String ciqProdModel;
  71. /**
  72. * 原产国代码,海关编码
  73. */
  74. private String oriCntCode;
  75. /**
  76. * 海关申报要素,报统一版
  77. */
  78. private String cusDeclEle;
  79. /**
  80. * 海关备案编号,企业自编,用于报园区
  81. */
  82. private String cusRecCode;
  83. private String sku;
  84. private String goodsBizType;
  85. // 商品类型
  86. private Integer goodsType = 0; // 0普通 1 2团购
  87. private String stockNum;
  88. private String storeName;
  89. private String productId;
  90. private Integer storeId;
  91. //商品类型
  92. private String categoryName;
  93. //品牌
  94. private String brandName;
  95. private String unitName;
  96. private String oriCntName;
  97. private String supplierName;
  98. private String supplierFlag;
  99. private String defaultFreight;
  100. //上架
  101. private String isOnSaleStr;
  102. //热销
  103. private String isHotStr;
  104. private String thirdPartyMerchCode;
  105. // MychemID
  106. private String mychemId;
  107. private String hsCode;
  108. private String hsCodeName;
  109. private String plu;
  110. //品牌唯一简码
  111. private String uniqueIdentifier;
  112. //一级分类
  113. private String firstLevel;
  114. //二级分类
  115. private String secondLevel;
  116. //第一法定单位数量
  117. private String legalUnit1Qty;
  118. //第二法定单位数量
  119. private String legalUnit2Qty;
  120. //进口消费税率
  121. private String impConsumTaxRate;
  122. //仓库编码
  123. private String warehouseSn;
  124. //货主编码
  125. private String consignorSn;
  126. //仓储系统商品ID
  127. private String warehousSysGoodId;
  128. //库存类型
  129. private String inventoryType;
  130. //残品等级(非残次品则不填)
  131. private String defectiveProductsGrade;
  132. //商品重量
  133. private String netWeight;
  134. //增值税率
  135. private String valueAddedTaxRate;
  136. public String getCounterPrice() {
  137. return counterPrice;
  138. }
  139. public void setCounterPrice(String counterPrice) {
  140. this.counterPrice = counterPrice;
  141. }
  142. public String getExtraPrice() {
  143. return extraPrice;
  144. }
  145. public void setExtraPrice(String extraPrice) {
  146. this.extraPrice = extraPrice;
  147. }
  148. public String getUnitPrice() {
  149. return unitPrice;
  150. }
  151. public void setUnitPrice(String unitPrice) {
  152. this.unitPrice = unitPrice;
  153. }
  154. public String getPromotionDesc() {
  155. return promotionDesc;
  156. }
  157. public void setPromotionDesc(String promotionDesc) {
  158. this.promotionDesc = promotionDesc;
  159. }
  160. public Integer getGoodsType() {
  161. return goodsType;
  162. }
  163. public void setGoodsType(Integer goodsType) {
  164. this.goodsType = goodsType;
  165. }
  166. public String getMychemId() {
  167. return mychemId;
  168. }
  169. public void setMychemId(String mychemId) {
  170. this.mychemId = mychemId;
  171. }
  172. public String getHsCode() {
  173. return hsCode;
  174. }
  175. public void setHsCode(String hsCode) {
  176. this.hsCode = hsCode;
  177. }
  178. public String getHsCodeName() {
  179. return hsCodeName;
  180. }
  181. public void setHsCodeName(String hsCodeName) {
  182. this.hsCodeName = hsCodeName;
  183. }
  184. public String getPlu() {
  185. return plu;
  186. }
  187. public void setPlu(String plu) {
  188. this.plu = plu;
  189. }
  190. public String getThirdPartyMerchCode() {
  191. return thirdPartyMerchCode;
  192. }
  193. public void setThirdPartyMerchCode(String thirdPartyMerchCode) {
  194. this.thirdPartyMerchCode = thirdPartyMerchCode;
  195. }
  196. public Integer getStoreId() {
  197. return storeId;
  198. }
  199. public void setStoreId(Integer storeId) {
  200. this.storeId = storeId;
  201. }
  202. public String getProductId() {
  203. return productId;
  204. }
  205. public void setProductId(String productId) {
  206. this.productId = productId;
  207. }
  208. public String getStockNum() {
  209. return stockNum;
  210. }
  211. public void setStockNum(String stockNum) {
  212. this.stockNum = stockNum;
  213. }
  214. public String getStoreName() {
  215. return storeName;
  216. }
  217. public void setStoreName(String storeName) {
  218. this.storeName = storeName;
  219. }
  220. public String getSku() {
  221. return sku;
  222. }
  223. public void setSku(String sku) {
  224. this.sku = sku;
  225. }
  226. public String getGoodsBizType() {
  227. return goodsBizType;
  228. }
  229. public void setGoodsBizType(String goodsBizType) {
  230. this.goodsBizType = goodsBizType;
  231. }
  232. public String getBrandName() {
  233. return brandName;
  234. }
  235. public void setBrandName(String brandName) {
  236. this.brandName = brandName;
  237. }
  238. public String getCategoryName() {
  239. return categoryName;
  240. }
  241. public void setCategoryName(String categoryName) {
  242. this.categoryName = categoryName;
  243. }
  244. /**
  245. * 设置:主键
  246. */
  247. public void setId(Long id) {
  248. this.id = id;
  249. }
  250. /**
  251. * 获取:主键
  252. */
  253. public Long getId() {
  254. return id;
  255. }
  256. /**
  257. * 设置:商品序列号
  258. */
  259. public void setGoodsSn(String goodsSn) {
  260. this.goodsSn = goodsSn;
  261. }
  262. /**
  263. * 获取:商品序列号
  264. */
  265. public String getGoodsSn() {
  266. return goodsSn;
  267. }
  268. /**
  269. * 设置:名称
  270. */
  271. public void setName(String name) {
  272. this.name = name;
  273. }
  274. /**
  275. * 获取:名称
  276. */
  277. public String getName() {
  278. return name;
  279. }
  280. public String getBrand() {
  281. return brand;
  282. }
  283. public void setBrand(String brand) {
  284. this.brand = brand;
  285. }
  286. /**
  287. * 设置:商品序列号
  288. */
  289. public void setGoodsNumber(String goodsNumber) {
  290. this.goodsNumber = goodsNumber;
  291. }
  292. /**
  293. * 获取:商品序列号
  294. */
  295. public String getGoodsNumber() {
  296. return goodsNumber;
  297. }
  298. /**
  299. * 设置:关键字
  300. */
  301. public void setKeywords(String keywords) {
  302. this.keywords = keywords;
  303. }
  304. /**
  305. * 获取:关键字
  306. */
  307. public String getKeywords() {
  308. return keywords;
  309. }
  310. /**
  311. * 设置:简明介绍
  312. */
  313. public void setGoodsBrief(String goodsBrief) {
  314. this.goodsBrief = goodsBrief;
  315. }
  316. /**
  317. * 获取:简明介绍
  318. */
  319. public String getGoodsBrief() {
  320. return goodsBrief;
  321. }
  322. /**
  323. * 设置:商品描述
  324. */
  325. public void setGoodsDesc(String goodsDesc) {
  326. this.goodsDesc = goodsDesc;
  327. }
  328. /**
  329. * 获取:商品描述
  330. */
  331. public String getGoodsDesc() {
  332. return goodsDesc;
  333. }
  334. /**
  335. * 设置:添加时间
  336. */
  337. public void setAddTime(Date addTime) {
  338. this.addTime = addTime;
  339. }
  340. /**
  341. * 获取:添加时间
  342. */
  343. public Date getAddTime() {
  344. return addTime;
  345. }
  346. /**
  347. * 设置:排序
  348. */
  349. public void setSortOrder(Integer sortOrder) {
  350. this.sortOrder = sortOrder;
  351. }
  352. /**
  353. * 获取:排序
  354. */
  355. public Integer getSortOrder() {
  356. return sortOrder;
  357. }
  358. /**
  359. * 设置:商品单位
  360. */
  361. public void setGoodsUnit(String goodsUnit) {
  362. this.goodsUnit = goodsUnit;
  363. }
  364. /**
  365. * 获取:商品单位
  366. */
  367. public String getGoodsUnit() {
  368. return goodsUnit;
  369. }
  370. public String getGoodsRate() {
  371. return goodsRate;
  372. }
  373. public void setGoodsRate(String goodsRate) {
  374. this.goodsRate = goodsRate;
  375. }
  376. /**
  377. * 设置:零售价格
  378. */
  379. public void setRetailPrice(String retailPrice) {
  380. this.retailPrice = retailPrice;
  381. }
  382. /**
  383. * 获取:零售价格
  384. */
  385. public String getRetailPrice() {
  386. return retailPrice;
  387. }
  388. public String getMarketPrice() {
  389. return marketPrice;
  390. }
  391. public void setMarketPrice(String marketPrice) {
  392. this.marketPrice = marketPrice;
  393. }
  394. public String getProdBarcode() {
  395. return prodBarcode;
  396. }
  397. public void setProdBarcode(String prodBarcode) {
  398. this.prodBarcode = prodBarcode;
  399. }
  400. public String getUnitCode() {
  401. return unitCode;
  402. }
  403. public void setUnitCode(String unitCode) {
  404. this.unitCode = unitCode;
  405. }
  406. public String getCusGoodsCode() {
  407. return cusGoodsCode;
  408. }
  409. public void setCusGoodsCode(String cusGoodsCode) {
  410. this.cusGoodsCode = cusGoodsCode;
  411. }
  412. public String getCiqProdModel() {
  413. return ciqProdModel;
  414. }
  415. public void setCiqProdModel(String ciqProdModel) {
  416. this.ciqProdModel = ciqProdModel;
  417. }
  418. public String getOriCntCode() {
  419. return oriCntCode;
  420. }
  421. public void setOriCntCode(String oriCntCode) {
  422. this.oriCntCode = oriCntCode;
  423. }
  424. public String getCusDeclEle() {
  425. return cusDeclEle;
  426. }
  427. public void setCusDeclEle(String cusDeclEle) {
  428. this.cusDeclEle = cusDeclEle;
  429. }
  430. public String getCusRecCode() {
  431. return cusRecCode;
  432. }
  433. public void setCusRecCode(String cusRecCode) {
  434. this.cusRecCode = cusRecCode;
  435. }
  436. public String getSupplierName() {
  437. return supplierName;
  438. }
  439. public void setSupplierName(String supplierName) {
  440. this.supplierName = supplierName;
  441. }
  442. public String getSupplierFlag() {
  443. return supplierFlag;
  444. }
  445. public void setSupplierFlag(String supplierFlag) {
  446. this.supplierFlag = supplierFlag;
  447. }
  448. public String getDefaultFreight() {
  449. return defaultFreight;
  450. }
  451. public void setDefaultFreight(String defaultFreight) {
  452. this.defaultFreight = defaultFreight;
  453. }
  454. public String getUnitName() {
  455. return unitName;
  456. }
  457. public void setUnitName(String unitName) {
  458. this.unitName = unitName;
  459. }
  460. public String getOriCntName() {
  461. return oriCntName;
  462. }
  463. public void setOriCntName(String oriCntName) {
  464. this.oriCntName = oriCntName;
  465. }
  466. public String getIsOnSaleStr() {
  467. return isOnSaleStr;
  468. }
  469. public void setIsOnSaleStr(String isOnSaleStr) {
  470. this.isOnSaleStr = isOnSaleStr;
  471. }
  472. public String getIsHotStr() {
  473. return isHotStr;
  474. }
  475. public void setIsHotStr(String isHotStr) {
  476. this.isHotStr = isHotStr;
  477. }
  478. public Integer getSellVolume() {
  479. return sellVolume;
  480. }
  481. public void setSellVolume(Integer sellVolume) {
  482. this.sellVolume = sellVolume;
  483. }
  484. public String getUniqueIdentifier() {
  485. return uniqueIdentifier;
  486. }
  487. public void setUniqueIdentifier(String uniqueIdentifier) {
  488. this.uniqueIdentifier = uniqueIdentifier;
  489. }
  490. public String getFirstLevel() {
  491. return firstLevel;
  492. }
  493. public void setFirstLevel(String firstLevel) {
  494. this.firstLevel = firstLevel;
  495. }
  496. public String getSecondLevel() {
  497. return secondLevel;
  498. }
  499. public void setSecondLevel(String secondLevel) {
  500. this.secondLevel = secondLevel;
  501. }
  502. public String getWarehouseSn() {
  503. return warehouseSn;
  504. }
  505. public void setWarehouseSn(String warehouseSn) {
  506. this.warehouseSn = warehouseSn;
  507. }
  508. public String getConsignorSn() {
  509. return consignorSn;
  510. }
  511. public void setConsignorSn(String consignorSn) {
  512. this.consignorSn = consignorSn;
  513. }
  514. public String getWarehousSysGoodId() {
  515. return warehousSysGoodId;
  516. }
  517. public void setWarehousSysGoodId(String warehousSysGoodId) {
  518. this.warehousSysGoodId = warehousSysGoodId;
  519. }
  520. public String getInventoryType() {
  521. return inventoryType;
  522. }
  523. public void setInventoryType(String inventoryType) {
  524. this.inventoryType = inventoryType;
  525. }
  526. public String getDefectiveProductsGrade() {
  527. return defectiveProductsGrade;
  528. }
  529. public void setDefectiveProductsGrade(String defectiveProductsGrade) {
  530. this.defectiveProductsGrade = defectiveProductsGrade;
  531. }
  532. public String getNetWeight() {
  533. return netWeight;
  534. }
  535. public void setNetWeight(String netWeight) {
  536. this.netWeight = netWeight;
  537. }
  538. public String getLegalUnit1Qty() {
  539. return legalUnit1Qty;
  540. }
  541. public void setLegalUnit1Qty(String legalUnit1Qty) {
  542. this.legalUnit1Qty = legalUnit1Qty;
  543. }
  544. public String getLegalUnit2Qty() {
  545. return legalUnit2Qty;
  546. }
  547. public void setLegalUnit2Qty(String legalUnit2Qty) {
  548. this.legalUnit2Qty = legalUnit2Qty;
  549. }
  550. public String getImpConsumTaxRate() {
  551. return impConsumTaxRate;
  552. }
  553. public void setImpConsumTaxRate(String impConsumTaxRate) {
  554. this.impConsumTaxRate = impConsumTaxRate;
  555. }
  556. public String getValueAddedTaxRate() {
  557. return valueAddedTaxRate;
  558. }
  559. public void setValueAddedTaxRate(String valueAddedTaxRate) {
  560. this.valueAddedTaxRate = valueAddedTaxRate;
  561. }
  562. }