GoodsEntity.java 28 KB

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