GoodsEntity.java 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371
  1. package com.kmall.admin.entity;
  2. import com.kmall.admin.haikong.vo.QueryGoodsVO;
  3. import org.springframework.beans.BeanUtils;
  4. import java.io.Serializable;
  5. import java.math.BigDecimal;
  6. import java.util.*;
  7. /**
  8. * @author Scott
  9. * @email
  10. * @date 2017-08-13 10:41:08
  11. */
  12. public class GoodsEntity implements Serializable {
  13. private static final long serialVersionUID = 1L;
  14. //主键
  15. private Long id;
  16. //商品类型Id
  17. private Integer categoryId;
  18. //供应商id
  19. private Integer supplierId;
  20. //商品序列号
  21. private String goodsSn;
  22. //名称
  23. private String name;
  24. //品牌Id
  25. private Integer brandId;
  26. //运费id
  27. private Integer freightId;
  28. //品牌
  29. private String brand;
  30. //商品库存
  31. private Integer goodsNumber;
  32. //关键字
  33. private String keywords;
  34. //简明介绍
  35. private String goodsBrief;
  36. //商品描述
  37. private String goodsDesc;
  38. //添加时间
  39. private Date addTime;
  40. //修改时间
  41. private Date updateTime;
  42. //排序
  43. private Integer sortOrder;
  44. //删除状态
  45. private Integer isDelete;
  46. //属性类别
  47. private Integer attributeCategory;
  48. //库存价格
  49. private BigDecimal counterPrice;
  50. //附加价格
  51. private BigDecimal extraPrice;
  52. //是否新商品
  53. private Integer isNew;
  54. //商品单位
  55. private String goodsUnit;
  56. //商品主图
  57. private String primaryPicUrl;
  58. //商品列表图
  59. private String listPicUrl;
  60. //商品税率
  61. private BigDecimal goodsRate;
  62. //零售价格
  63. // private BigDecimal retailPrice;
  64. //销售量
  65. private Integer sellVolume;
  66. //主sku product_id
  67. private Long primaryProductId;
  68. //单位价格,单价
  69. private BigDecimal unitPrice;
  70. //推广描述
  71. private String promotionDesc;
  72. //推广标签
  73. private String promotionTag;
  74. //APP专享价
  75. private BigDecimal appExclusivePrice;
  76. //是否是APP专属
  77. private Integer isAppExclusive;
  78. //限购
  79. private Integer isLimited;
  80. //上架
  81. private Integer isOnSale;
  82. //热销
  83. private Integer isHot;
  84. //市场价
  85. // private BigDecimal marketPrice;
  86. //零售价格
  87. private BigDecimal storeRetailPrice;
  88. //市场价
  89. private BigDecimal storeMarketPrice;
  90. /**
  91. * 产品条码
  92. */
  93. private String prodBarcode;
  94. /**
  95. * 计量单位代码,参见海关编码
  96. */
  97. private String unitCode;
  98. /**
  99. * 计量单位代码,参见海关编码
  100. */
  101. private String unitCodeName;
  102. /**
  103. * 海关商品编码
  104. */
  105. private String cusGoodsCode;
  106. /**
  107. * 国检规格型号
  108. */
  109. private String ciqProdModel;
  110. /**
  111. * 原产国代码,海关编码
  112. */
  113. private String oriCntCode;
  114. /**
  115. * 原产国名称
  116. */
  117. private String oriCntName;
  118. /**
  119. * 海关申报要素,报统一版
  120. */
  121. private String cusDeclEle;
  122. /**
  123. * 海关备案编号,企业自编,用于报园区
  124. */
  125. private String cusRecCode;
  126. private String sku;
  127. private String goodsBizType;
  128. private String createrSn;
  129. private Date createTime;
  130. private String moderSn;
  131. private Date modTime;
  132. private Date tstm;
  133. /**
  134. * 用户ID
  135. */
  136. private Long createUserId;
  137. private Long createUserDeptId;
  138. private String prodName;
  139. public String getProdName() {
  140. return prodName;
  141. }
  142. public void setProdName(String prodName) {
  143. this.prodName = prodName;
  144. }
  145. private String prodRecordName; // 产品中文备案名称
  146. public String getProdRecordName() {
  147. return prodRecordName;
  148. }
  149. public void setProdRecordName(String prodRecordName) {
  150. this.prodRecordName = prodRecordName;
  151. }
  152. // 商品规格
  153. // 商品规格编号
  154. /**
  155. * 用户ID
  156. */
  157. private Long updateUserId;
  158. // 商品类型
  159. private Integer goodsType = 0; // 0普通 1 2团购
  160. private List<GoodsAttributeEntity> attributeEntityList = new ArrayList<>();
  161. private List<GoodsGalleryEntity> goodsImgList = new ArrayList<>();
  162. private List<ProductEntity> productEntityList = new ArrayList<>();
  163. /**
  164. * 翻译用字段
  165. */
  166. //属性类别
  167. private String attributeCategoryName;
  168. //视频地址
  169. private String videoUrl;
  170. private Integer stockNum;
  171. private String storeName;
  172. private String productId;
  173. private Integer storeId;
  174. /**
  175. * 导入翻译数据
  176. */
  177. //商品类型
  178. private String categoryName;
  179. //品牌
  180. private String brandName;
  181. //商户编号
  182. private String merchSn;
  183. private String merchName;
  184. private String thirdPartyMerchCode;
  185. private String isStockShare;
  186. //毛重,kg
  187. private BigDecimal grossWeight;
  188. //净重,kg
  189. private BigDecimal netWeight;
  190. private String isSupplierGoods;
  191. private String goodsIsStockShare;
  192. private String isStockShareBySuppler;
  193. /**
  194. * 商品库存数量变化后是否已共享,0:否,1:是(下单、退款、取消订单触发)
  195. */
  196. private String isGoodsShareStock;
  197. // PLU
  198. private String plu;
  199. // 英文名称
  200. private String englishName;
  201. // 成本价
  202. private BigDecimal costPrice;
  203. // 日常价
  204. private BigDecimal dailyPrice;
  205. // 最后销售时间
  206. private Date lastSaleTime;
  207. // MychemID
  208. private String mychemId;
  209. private String hsCode;
  210. private String hsCodeName;
  211. private String isSyncHsCode;
  212. private String isSyncGoodsRate;
  213. private BigDecimal impConsumTaxRate;
  214. private BigDecimal valueAddedTaxRate;
  215. private BigDecimal cosmThresholdValue;
  216. private BigDecimal legalUnit1Qty;
  217. private BigDecimal legalUnit2Qty;
  218. private Integer toBeRestored;
  219. /**
  220. * 预估税
  221. */
  222. private BigDecimal goodsTaxes;
  223. //仓库编码
  224. private String warehouseSn;
  225. //货主编码
  226. private String consignorSn;
  227. //仓储系统商品ID
  228. private String warehousSysGoodId;
  229. //库存类型
  230. private String inventoryType;
  231. //残品等级(非残次品则不填)
  232. private String defectiveProductsGrade;
  233. public GoodsEntity() {
  234. }
  235. public GoodsEntity(QueryGoodsVO queryGoodsVo) {
  236. BeanUtils.copyProperties(queryGoodsVo, this);
  237. this.goodsNumber = queryGoodsVo.getSellVolume();
  238. }
  239. public BigDecimal getGoodsTaxes() {
  240. return goodsTaxes;
  241. }
  242. public void setGoodsTaxes(BigDecimal goodsTaxes) {
  243. this.goodsTaxes = goodsTaxes;
  244. }
  245. public BigDecimal getCosmThresholdValue() {
  246. return cosmThresholdValue;
  247. }
  248. public void setCosmThresholdValue(BigDecimal cosmThresholdValue) {
  249. this.cosmThresholdValue = cosmThresholdValue;
  250. }
  251. public BigDecimal getLegalUnit1Qty() {
  252. return legalUnit1Qty;
  253. }
  254. public void setLegalUnit1Qty(BigDecimal legalUnit1Qty) {
  255. this.legalUnit1Qty = legalUnit1Qty;
  256. }
  257. public BigDecimal getLegalUnit2Qty() {
  258. return legalUnit2Qty;
  259. }
  260. public void setLegalUnit2Qty(BigDecimal legalUnit2Qty) {
  261. this.legalUnit2Qty = legalUnit2Qty;
  262. }
  263. public BigDecimal getImpConsumTaxRate() {
  264. return impConsumTaxRate;
  265. }
  266. public void setImpConsumTaxRate(BigDecimal impConsumTaxRate) {
  267. this.impConsumTaxRate = impConsumTaxRate;
  268. }
  269. public BigDecimal getValueAddedTaxRate() {
  270. return valueAddedTaxRate;
  271. }
  272. public void setValueAddedTaxRate(BigDecimal valueAddedTaxRate) {
  273. this.valueAddedTaxRate = valueAddedTaxRate;
  274. }
  275. public String getIsSyncGoodsRate() {
  276. return isSyncGoodsRate;
  277. }
  278. public void setIsSyncGoodsRate(String isSyncGoodsRate) {
  279. this.isSyncGoodsRate = isSyncGoodsRate;
  280. }
  281. public String getIsSyncHsCode() {
  282. return isSyncHsCode;
  283. }
  284. public void setIsSyncHsCode(String isSyncHsCode) {
  285. this.isSyncHsCode = isSyncHsCode;
  286. }
  287. public String getHsCode() {
  288. return hsCode;
  289. }
  290. public void setHsCode(String hsCode) {
  291. this.hsCode = hsCode;
  292. }
  293. public String getHsCodeName() {
  294. return hsCodeName;
  295. }
  296. public void setHsCodeName(String hsCodeName) {
  297. this.hsCodeName = hsCodeName;
  298. }
  299. public String getMychemId() {
  300. return mychemId;
  301. }
  302. public void setMychemId(String mychemId) {
  303. this.mychemId = mychemId;
  304. }
  305. private String activity;
  306. // 单价
  307. private BigDecimal retailPrice;
  308. // 优惠金额
  309. private BigDecimal discountedPrice;
  310. // 实际支付价
  311. private BigDecimal actualPaymentAmount;
  312. /**
  313. * 门店商品库存表 出区数
  314. */
  315. private Integer exitRegionNumber;
  316. public BigDecimal getRetailPrice() {
  317. return retailPrice;
  318. }
  319. public void setRetailPrice(BigDecimal retailPrice) {
  320. this.retailPrice = retailPrice;
  321. }
  322. public BigDecimal getDiscountedPrice() {
  323. return discountedPrice;
  324. }
  325. public void setDiscountedPrice(BigDecimal discountedPrice) {
  326. this.discountedPrice = discountedPrice;
  327. }
  328. public BigDecimal getActualPaymentAmount() {
  329. return actualPaymentAmount;
  330. }
  331. public void setActualPaymentAmount(BigDecimal actualPaymentAmount) {
  332. this.actualPaymentAmount = actualPaymentAmount;
  333. }
  334. public Date getLastSaleTime() {
  335. return lastSaleTime;
  336. }
  337. public void setLastSaleTime(Date lastSaleTime) {
  338. this.lastSaleTime = lastSaleTime;
  339. }
  340. public String getOriCntName() {
  341. return oriCntName;
  342. }
  343. public void setOriCntName(String oriCntName) {
  344. this.oriCntName = oriCntName;
  345. }
  346. public BigDecimal getCostPrice() {
  347. return costPrice;
  348. }
  349. public void setCostPrice(BigDecimal costPrice) {
  350. this.costPrice = costPrice;
  351. }
  352. public BigDecimal getDailyPrice() {
  353. return dailyPrice;
  354. }
  355. public void setDailyPrice(BigDecimal dailyPrice) {
  356. this.dailyPrice = dailyPrice;
  357. }
  358. public String getPlu() {
  359. return plu;
  360. }
  361. public void setPlu(String plu) {
  362. this.plu = plu;
  363. }
  364. public String getEnglishName() {
  365. return englishName;
  366. }
  367. public void setEnglishName(String englishName) {
  368. this.englishName = englishName;
  369. }
  370. public String getIsGoodsShareStock() {
  371. return isGoodsShareStock;
  372. }
  373. public void setIsGoodsShareStock(String isGoodsShareStock) {
  374. this.isGoodsShareStock = isGoodsShareStock;
  375. }
  376. public String getIsSupplierGoods() {
  377. return isSupplierGoods;
  378. }
  379. public void setIsSupplierGoods(String isSupplierGoods) {
  380. this.isSupplierGoods = isSupplierGoods;
  381. }
  382. public String getGoodsIsStockShare() {
  383. return goodsIsStockShare;
  384. }
  385. public void setGoodsIsStockShare(String goodsIsStockShare) {
  386. this.goodsIsStockShare = goodsIsStockShare;
  387. }
  388. public String getIsStockShareBySuppler() {
  389. return isStockShareBySuppler;
  390. }
  391. public void setIsStockShareBySuppler(String isStockShareBySuppler) {
  392. this.isStockShareBySuppler = isStockShareBySuppler;
  393. }
  394. public BigDecimal getGrossWeight() {
  395. return grossWeight;
  396. }
  397. public void setGrossWeight(BigDecimal grossWeight) {
  398. this.grossWeight = grossWeight;
  399. }
  400. public BigDecimal getNetWeight() {
  401. return netWeight;
  402. }
  403. public void setNetWeight(BigDecimal netWeight) {
  404. this.netWeight = netWeight;
  405. }
  406. public String getIsStockShare() {
  407. return isStockShare;
  408. }
  409. public void setIsStockShare(String isStockShare) {
  410. this.isStockShare = isStockShare;
  411. }
  412. public String getThirdPartyMerchCode() {
  413. return thirdPartyMerchCode;
  414. }
  415. public void setThirdPartyMerchCode(String thirdPartyMerchCode) {
  416. this.thirdPartyMerchCode = thirdPartyMerchCode;
  417. }
  418. public BigDecimal getStoreRetailPrice() {
  419. return storeRetailPrice;
  420. }
  421. public void setStoreRetailPrice(BigDecimal storeRetailPrice) {
  422. this.storeRetailPrice = storeRetailPrice;
  423. }
  424. public BigDecimal getStoreMarketPrice() {
  425. return storeMarketPrice;
  426. }
  427. public void setStoreMarketPrice(BigDecimal storeMarketPrice) {
  428. this.storeMarketPrice = storeMarketPrice;
  429. }
  430. public String getMerchName() {
  431. return merchName;
  432. }
  433. public void setMerchName(String merchName) {
  434. this.merchName = merchName;
  435. }
  436. public String getMerchSn() {
  437. return merchSn;
  438. }
  439. public void setMerchSn(String merchSn) {
  440. this.merchSn = merchSn;
  441. }
  442. public Integer getStoreId() {
  443. return storeId;
  444. }
  445. public void setStoreId(Integer storeId) {
  446. this.storeId = storeId;
  447. }
  448. public String getProductId() {
  449. return productId;
  450. }
  451. public void setProductId(String productId) {
  452. this.productId = productId;
  453. }
  454. public Integer getStockNum() {
  455. return stockNum;
  456. }
  457. public void setStockNum(Integer stockNum) {
  458. this.stockNum = stockNum;
  459. }
  460. public String getStoreName() {
  461. return storeName;
  462. }
  463. public void setStoreName(String storeName) {
  464. this.storeName = storeName;
  465. }
  466. public Integer getSupplierId() {
  467. return supplierId;
  468. }
  469. public void setSupplierId(Integer supplierId) {
  470. this.supplierId = supplierId;
  471. }
  472. public String getVideoUrl() {
  473. return videoUrl;
  474. }
  475. public void setVideoUrl(String videoUrl) {
  476. this.videoUrl = videoUrl;
  477. }
  478. public String getSku() {
  479. return sku;
  480. }
  481. public void setSku(String sku) {
  482. this.sku = sku;
  483. }
  484. public String getGoodsBizType() {
  485. return goodsBizType;
  486. }
  487. public void setGoodsBizType(String goodsBizType) {
  488. this.goodsBizType = goodsBizType;
  489. }
  490. public String getCreaterSn() {
  491. return createrSn;
  492. }
  493. public void setCreaterSn(String createrSn) {
  494. this.createrSn = createrSn;
  495. }
  496. public Date getCreateTime() {
  497. return createTime;
  498. }
  499. public void setCreateTime(Date createTime) {
  500. this.createTime = createTime;
  501. }
  502. public String getModerSn() {
  503. return moderSn;
  504. }
  505. public void setModerSn(String moderSn) {
  506. this.moderSn = moderSn;
  507. }
  508. public Date getModTime() {
  509. return modTime;
  510. }
  511. public void setModTime(Date modTime) {
  512. this.modTime = modTime;
  513. }
  514. public Date getTstm() {
  515. return tstm;
  516. }
  517. public void setTstm(Date tstm) {
  518. this.tstm = tstm;
  519. }
  520. public Long getCreateUserDeptId() {
  521. return createUserDeptId;
  522. }
  523. public void setCreateUserDeptId(Long createUserDeptId) {
  524. this.createUserDeptId = createUserDeptId;
  525. }
  526. public List<GoodsGalleryEntity> getGoodsImgList() {
  527. return goodsImgList;
  528. }
  529. public void setGoodsImgList(List<GoodsGalleryEntity> goodsImgList) {
  530. this.goodsImgList = goodsImgList;
  531. }
  532. public String getBrandName() {
  533. return brandName;
  534. }
  535. public void setBrandName(String brandName) {
  536. this.brandName = brandName;
  537. }
  538. public String getAttributeCategoryName() {
  539. return attributeCategoryName;
  540. }
  541. public void setAttributeCategoryName(String attributeCategoryName) {
  542. this.attributeCategoryName = attributeCategoryName;
  543. }
  544. public String getCategoryName() {
  545. return categoryName;
  546. }
  547. public void setCategoryName(String categoryName) {
  548. this.categoryName = categoryName;
  549. }
  550. /**
  551. * 设置:主键
  552. */
  553. public void setId(Long id) {
  554. this.id = id;
  555. }
  556. /**
  557. * 获取:主键
  558. */
  559. public Long getId() {
  560. return id;
  561. }
  562. /**
  563. * 设置:商品类型Id
  564. */
  565. public void setCategoryId(Integer categoryId) {
  566. this.categoryId = categoryId;
  567. }
  568. /**
  569. * 获取:商品类型Id
  570. */
  571. public Integer getCategoryId() {
  572. return categoryId;
  573. }
  574. /**
  575. * 设置:商品序列号
  576. */
  577. public void setGoodsSn(String goodsSn) {
  578. this.goodsSn = goodsSn;
  579. }
  580. /**
  581. * 获取:商品序列号
  582. */
  583. public String getGoodsSn() {
  584. return goodsSn;
  585. }
  586. /**
  587. * 设置:名称
  588. */
  589. public void setName(String name) {
  590. this.name = name;
  591. }
  592. /**
  593. * 获取:名称
  594. */
  595. public String getName() {
  596. return name;
  597. }
  598. public Integer getFreightId() {
  599. return freightId;
  600. }
  601. public void setFreightId(Integer freightId) {
  602. this.freightId = freightId;
  603. }
  604. /**
  605. * 设置:品牌Id
  606. */
  607. public void setBrandId(Integer brandId) {
  608. this.brandId = brandId;
  609. }
  610. /**
  611. * 获取:品牌Id
  612. */
  613. public Integer getBrandId() {
  614. return brandId;
  615. }
  616. public String getBrand() {
  617. return brand;
  618. }
  619. public void setBrand(String brand) {
  620. this.brand = brand;
  621. }
  622. /**
  623. * 设置:商品序列号
  624. */
  625. public void setGoodsNumber(Integer goodsNumber) {
  626. this.goodsNumber = goodsNumber;
  627. }
  628. /**
  629. * 获取:商品序列号
  630. */
  631. public Integer getGoodsNumber() {
  632. return goodsNumber;
  633. }
  634. /**
  635. * 设置:关键字
  636. */
  637. public void setKeywords(String keywords) {
  638. this.keywords = keywords;
  639. }
  640. /**
  641. * 获取:关键字
  642. */
  643. public String getKeywords() {
  644. return keywords;
  645. }
  646. /**
  647. * 设置:简明介绍
  648. */
  649. public void setGoodsBrief(String goodsBrief) {
  650. this.goodsBrief = goodsBrief;
  651. }
  652. /**
  653. * 获取:简明介绍
  654. */
  655. public String getGoodsBrief() {
  656. return goodsBrief;
  657. }
  658. /**
  659. * 设置:商品描述
  660. */
  661. public void setGoodsDesc(String goodsDesc) {
  662. this.goodsDesc = goodsDesc;
  663. }
  664. /**
  665. * 获取:商品描述
  666. */
  667. public String getGoodsDesc() {
  668. return goodsDesc;
  669. }
  670. /**
  671. * 设置:上架
  672. */
  673. public void setIsOnSale(Integer isOnSale) {
  674. this.isOnSale = isOnSale;
  675. }
  676. /**
  677. * 获取:上架
  678. */
  679. public Integer getIsOnSale() {
  680. return isOnSale;
  681. }
  682. /**
  683. * 设置:添加时间
  684. */
  685. public void setAddTime(Date addTime) {
  686. this.addTime = addTime;
  687. }
  688. /**
  689. * 获取:添加时间
  690. */
  691. public Date getAddTime() {
  692. return addTime;
  693. }
  694. /**
  695. * 设置:排序
  696. */
  697. public void setSortOrder(Integer sortOrder) {
  698. this.sortOrder = sortOrder;
  699. }
  700. /**
  701. * 获取:排序
  702. */
  703. public Integer getSortOrder() {
  704. return sortOrder;
  705. }
  706. /**
  707. * 设置:删除状态
  708. */
  709. public void setIsDelete(Integer isDelete) {
  710. this.isDelete = isDelete;
  711. }
  712. /**
  713. * 获取:删除状态
  714. */
  715. public Integer getIsDelete() {
  716. return isDelete;
  717. }
  718. /**
  719. * 设置:属性类别
  720. */
  721. public void setAttributeCategory(Integer attributeCategory) {
  722. this.attributeCategory = attributeCategory;
  723. }
  724. /**
  725. * 获取:属性类别
  726. */
  727. public Integer getAttributeCategory() {
  728. return attributeCategory;
  729. }
  730. /**
  731. * 设置:专柜价格
  732. */
  733. public void setCounterPrice(BigDecimal counterPrice) {
  734. this.counterPrice = counterPrice;
  735. }
  736. /**
  737. * 获取:专柜价格
  738. */
  739. public BigDecimal getCounterPrice() {
  740. return counterPrice;
  741. }
  742. /**
  743. * 设置:附加价格
  744. */
  745. public void setExtraPrice(BigDecimal extraPrice) {
  746. this.extraPrice = extraPrice;
  747. }
  748. /**
  749. * 获取:附加价格
  750. */
  751. public BigDecimal getExtraPrice() {
  752. return extraPrice;
  753. }
  754. /**
  755. * 设置:是否新商品
  756. */
  757. public void setIsNew(Integer isNew) {
  758. this.isNew = isNew;
  759. }
  760. /**
  761. * 获取:是否新商品
  762. */
  763. public Integer getIsNew() {
  764. return isNew;
  765. }
  766. /**
  767. * 设置:商品单位
  768. */
  769. public void setGoodsUnit(String goodsUnit) {
  770. this.goodsUnit = goodsUnit;
  771. }
  772. /**
  773. * 获取:商品单位
  774. */
  775. public String getGoodsUnit() {
  776. return goodsUnit;
  777. }
  778. /**
  779. * 设置:商品主图
  780. */
  781. public void setPrimaryPicUrl(String primaryPicUrl) {
  782. this.primaryPicUrl = primaryPicUrl;
  783. }
  784. /**
  785. * 获取:商品主图
  786. */
  787. public String getPrimaryPicUrl() {
  788. return primaryPicUrl;
  789. }
  790. /**
  791. * 设置:商品列表图
  792. */
  793. public void setListPicUrl(String listPicUrl) {
  794. this.listPicUrl = listPicUrl;
  795. }
  796. /**
  797. * 获取:商品列表图
  798. */
  799. public String getListPicUrl() {
  800. return listPicUrl;
  801. }
  802. public BigDecimal getGoodsRate() {
  803. return goodsRate;
  804. }
  805. public void setGoodsRate(BigDecimal goodsRate) {
  806. this.goodsRate = goodsRate;
  807. }
  808. // /**
  809. // * 设置:零售价格
  810. // */
  811. // public void setRetailPrice(BigDecimal retailPrice) {
  812. // this.retailPrice = retailPrice;
  813. // }
  814. //
  815. // /**
  816. // * 获取:零售价格
  817. // */
  818. // public BigDecimal getRetailPrice() {
  819. // return retailPrice;
  820. // }
  821. /**
  822. * 设置:销售量
  823. */
  824. public void setSellVolume(Integer sellVolume) {
  825. this.sellVolume = sellVolume;
  826. }
  827. /**
  828. * 获取:销售量
  829. */
  830. public Integer getSellVolume() {
  831. return sellVolume;
  832. }
  833. /**
  834. * 设置:主sku product_id
  835. */
  836. public void setPrimaryProductId(Long primaryProductId) {
  837. this.primaryProductId = primaryProductId;
  838. }
  839. /**
  840. * 获取:主sku product_id
  841. */
  842. public Long getPrimaryProductId() {
  843. return primaryProductId;
  844. }
  845. /**
  846. * 设置:单位价格,单价
  847. */
  848. public void setUnitPrice(BigDecimal unitPrice) {
  849. this.unitPrice = unitPrice;
  850. }
  851. /**
  852. * 获取:单位价格,单价
  853. */
  854. public BigDecimal getUnitPrice() {
  855. return unitPrice;
  856. }
  857. /**
  858. * 设置:推广描述
  859. */
  860. public void setPromotionDesc(String promotionDesc) {
  861. this.promotionDesc = promotionDesc;
  862. }
  863. /**
  864. * 获取:推广描述
  865. */
  866. public String getPromotionDesc() {
  867. return promotionDesc;
  868. }
  869. /**
  870. * 设置:推广标签
  871. */
  872. public void setPromotionTag(String promotionTag) {
  873. this.promotionTag = promotionTag;
  874. }
  875. /**
  876. * 获取:推广标签
  877. */
  878. public String getPromotionTag() {
  879. return promotionTag;
  880. }
  881. /**
  882. * 设置:APP专享价
  883. */
  884. public void setAppExclusivePrice(BigDecimal appExclusivePrice) {
  885. this.appExclusivePrice = appExclusivePrice;
  886. }
  887. /**
  888. * 获取:APP专享价
  889. */
  890. public BigDecimal getAppExclusivePrice() {
  891. return appExclusivePrice;
  892. }
  893. /**
  894. * 设置:是否是APP专属
  895. */
  896. public void setIsAppExclusive(Integer isAppExclusive) {
  897. this.isAppExclusive = isAppExclusive;
  898. }
  899. /**
  900. * 获取:是否是APP专属
  901. */
  902. public Integer getIsAppExclusive() {
  903. return isAppExclusive;
  904. }
  905. /**
  906. * 设置:限购
  907. */
  908. public void setIsLimited(Integer isLimited) {
  909. this.isLimited = isLimited;
  910. }
  911. /**
  912. * 获取:限购
  913. */
  914. public Integer getIsLimited() {
  915. return isLimited;
  916. }
  917. /**
  918. * 设置:热销
  919. */
  920. public void setIsHot(Integer isHot) {
  921. this.isHot = isHot;
  922. }
  923. /**
  924. * 获取:热销
  925. */
  926. public Integer getIsHot() {
  927. return isHot;
  928. }
  929. // public BigDecimal getMarketPrice() {
  930. // return marketPrice;
  931. // }
  932. //
  933. // public void setMarketPrice(BigDecimal marketPrice) {
  934. // this.marketPrice = marketPrice;
  935. // }
  936. public List<GoodsAttributeEntity> getAttributeEntityList() {
  937. return attributeEntityList;
  938. }
  939. public void setAttributeEntityList(List<GoodsAttributeEntity> attributeEntityList) {
  940. this.attributeEntityList = attributeEntityList;
  941. }
  942. public Long getCreateUserId() {
  943. return createUserId;
  944. }
  945. public void setCreateUserId(Long createUserId) {
  946. this.createUserId = createUserId;
  947. }
  948. public Long getUpdateUserId() {
  949. return updateUserId;
  950. }
  951. public void setUpdateUserId(Long updateUserId) {
  952. this.updateUserId = updateUserId;
  953. }
  954. public Date getUpdateTime() {
  955. return updateTime;
  956. }
  957. public void setUpdateTime(Date updateTime) {
  958. this.updateTime = updateTime;
  959. }
  960. public List<ProductEntity> getProductEntityList() {
  961. return productEntityList;
  962. }
  963. public void setProductEntityList(List<ProductEntity> productEntityList) {
  964. this.productEntityList = productEntityList;
  965. }
  966. public Integer getGoodsType() {
  967. return goodsType;
  968. }
  969. public void setGoodsType(Integer goodsType) {
  970. this.goodsType = goodsType;
  971. }
  972. public String getProdBarcode() {
  973. return prodBarcode;
  974. }
  975. public void setProdBarcode(String prodBarcode) {
  976. this.prodBarcode = prodBarcode;
  977. }
  978. public String getUnitCode() {
  979. return unitCode;
  980. }
  981. public void setUnitCode(String unitCode) {
  982. this.unitCode = unitCode;
  983. }
  984. public String getCusGoodsCode() {
  985. return cusGoodsCode;
  986. }
  987. public void setCusGoodsCode(String cusGoodsCode) {
  988. this.cusGoodsCode = cusGoodsCode;
  989. }
  990. public String getCiqProdModel() {
  991. return ciqProdModel;
  992. }
  993. public void setCiqProdModel(String ciqProdModel) {
  994. this.ciqProdModel = ciqProdModel;
  995. }
  996. public String getOriCntCode() {
  997. return oriCntCode;
  998. }
  999. public void setOriCntCode(String oriCntCode) {
  1000. this.oriCntCode = oriCntCode;
  1001. }
  1002. public String getCusDeclEle() {
  1003. return cusDeclEle;
  1004. }
  1005. public void setCusDeclEle(String cusDeclEle) {
  1006. this.cusDeclEle = cusDeclEle;
  1007. }
  1008. public String getCusRecCode() {
  1009. return cusRecCode;
  1010. }
  1011. public void setCusRecCode(String cusRecCode) {
  1012. this.cusRecCode = cusRecCode;
  1013. }
  1014. public String getActivity() {
  1015. return activity;
  1016. }
  1017. public void setActivity(String activity) {
  1018. this.activity = activity;
  1019. }
  1020. public Integer getToBeRestored() {
  1021. return toBeRestored;
  1022. }
  1023. public void setToBeRestored(Integer toBeRestored) {
  1024. this.toBeRestored = toBeRestored;
  1025. }
  1026. public Integer getExitRegionNumber() {
  1027. return exitRegionNumber;
  1028. }
  1029. public void setExitRegionNumber(Integer exitRegionNumber) {
  1030. this.exitRegionNumber = exitRegionNumber;
  1031. }
  1032. public String getWarehouseSn() {
  1033. return warehouseSn;
  1034. }
  1035. public void setWarehouseSn(String warehouseSn) {
  1036. this.warehouseSn = warehouseSn;
  1037. }
  1038. public String getConsignorSn() {
  1039. return consignorSn;
  1040. }
  1041. public void setConsignorSn(String consignorSn) {
  1042. this.consignorSn = consignorSn;
  1043. }
  1044. public String getWarehousSysGoodId() {
  1045. return warehousSysGoodId;
  1046. }
  1047. public void setWarehousSysGoodId(String warehousSysGoodId) {
  1048. this.warehousSysGoodId = warehousSysGoodId;
  1049. }
  1050. public String getInventoryType() {
  1051. return inventoryType;
  1052. }
  1053. public void setInventoryType(String inventoryType) {
  1054. this.inventoryType = inventoryType;
  1055. }
  1056. public String getDefectiveProductsGrade() {
  1057. return defectiveProductsGrade;
  1058. }
  1059. public void setDefectiveProductsGrade(String defectiveProductsGrade) {
  1060. this.defectiveProductsGrade = defectiveProductsGrade;
  1061. }
  1062. public String getUnitCodeName() {
  1063. return unitCodeName;
  1064. }
  1065. public void setUnitCodeName(String unitCodeName) {
  1066. this.unitCodeName = unitCodeName;
  1067. }
  1068. /**
  1069. * 重写hashCode方法,用作排序
  1070. */
  1071. @Override
  1072. public int hashCode() {
  1073. String s = this.prodBarcode + this.sku + this.storeId;
  1074. return s.hashCode();
  1075. }
  1076. /**
  1077. * 重写equals
  1078. * @param obj 需要对比的对象
  1079. */
  1080. @Override
  1081. public boolean equals(Object obj) {
  1082. if (Objects.isNull(obj)) {
  1083. return false;
  1084. }
  1085. if (obj instanceof GoodsEntity) {
  1086. return this.hashCode() == obj.hashCode();
  1087. }
  1088. return false;
  1089. }
  1090. }