GoodsEntity.java 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. package com.kmall.admin.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.ArrayList;
  5. import java.util.Date;
  6. import java.util.List;
  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. * 产品条码
  88. */
  89. private String prodBarcode;
  90. /**
  91. * 计量单位代码,参见海关编码
  92. */
  93. private String unitCode;
  94. /**
  95. * 海关商品编码
  96. */
  97. private String cusGoodsCode;
  98. /**
  99. * 国检规格型号
  100. */
  101. private String ciqProdModel;
  102. /**
  103. * 原产国代码,海关编码
  104. */
  105. private String oriCntCode;
  106. /**
  107. * 海关申报要素,报统一版
  108. */
  109. private String cusDeclEle;
  110. /**
  111. * 海关备案编号,企业自编,用于报园区
  112. */
  113. private String cusRecCode;
  114. private String sku;
  115. private String goodsBizType;
  116. private String createrSn;
  117. private Date createTime;
  118. private String moderSn;
  119. private Date modTime;
  120. private Date tstm;
  121. /**
  122. * 用户ID
  123. */
  124. private Long createUserId;
  125. private Long createUserDeptId;
  126. /**
  127. * 用户ID
  128. */
  129. private Long updateUserId;
  130. // 商品类型
  131. private Integer goodsType = 0; // 0普通 1 2团购
  132. List<GoodsAttributeEntity> attributeEntityList = new ArrayList<>();
  133. List<GoodsGalleryEntity> goodsImgList = new ArrayList<>();
  134. List<ProductEntity> productEntityList = new ArrayList<>();
  135. /**
  136. * 翻译用字段
  137. */
  138. //属性类别
  139. private String attributeCategoryName;
  140. //视频地址
  141. private String videoUrl;
  142. private String stockNum;
  143. private String storeName;
  144. private String productId;
  145. private Integer storeId;
  146. /**
  147. * 导入翻译数据
  148. */
  149. //商品类型
  150. private String categoryName;
  151. //品牌
  152. private String brandName;
  153. //商户编号
  154. private String merchSn;
  155. public String getMerchSn() {
  156. return merchSn;
  157. }
  158. public void setMerchSn(String merchSn) {
  159. this.merchSn = merchSn;
  160. }
  161. public Integer getStoreId() {
  162. return storeId;
  163. }
  164. public void setStoreId(Integer storeId) {
  165. this.storeId = storeId;
  166. }
  167. public String getProductId() {
  168. return productId;
  169. }
  170. public void setProductId(String productId) {
  171. this.productId = productId;
  172. }
  173. public String getStockNum() {
  174. return stockNum;
  175. }
  176. public void setStockNum(String stockNum) {
  177. this.stockNum = stockNum;
  178. }
  179. public String getStoreName() {
  180. return storeName;
  181. }
  182. public void setStoreName(String storeName) {
  183. this.storeName = storeName;
  184. }
  185. public Integer getSupplierId() {
  186. return supplierId;
  187. }
  188. public void setSupplierId(Integer supplierId) {
  189. this.supplierId = supplierId;
  190. }
  191. public String getVideoUrl() {
  192. return videoUrl;
  193. }
  194. public void setVideoUrl(String videoUrl) {
  195. this.videoUrl = videoUrl;
  196. }
  197. public String getSku() {
  198. return sku;
  199. }
  200. public void setSku(String sku) {
  201. this.sku = sku;
  202. }
  203. public String getGoodsBizType() {
  204. return goodsBizType;
  205. }
  206. public void setGoodsBizType(String goodsBizType) {
  207. this.goodsBizType = goodsBizType;
  208. }
  209. public String getCreaterSn() {
  210. return createrSn;
  211. }
  212. public void setCreaterSn(String createrSn) {
  213. this.createrSn = createrSn;
  214. }
  215. public Date getCreateTime() {
  216. return createTime;
  217. }
  218. public void setCreateTime(Date createTime) {
  219. this.createTime = createTime;
  220. }
  221. public String getModerSn() {
  222. return moderSn;
  223. }
  224. public void setModerSn(String moderSn) {
  225. this.moderSn = moderSn;
  226. }
  227. public Date getModTime() {
  228. return modTime;
  229. }
  230. public void setModTime(Date modTime) {
  231. this.modTime = modTime;
  232. }
  233. public Date getTstm() {
  234. return tstm;
  235. }
  236. public void setTstm(Date tstm) {
  237. this.tstm = tstm;
  238. }
  239. public Long getCreateUserDeptId() {
  240. return createUserDeptId;
  241. }
  242. public void setCreateUserDeptId(Long createUserDeptId) {
  243. this.createUserDeptId = createUserDeptId;
  244. }
  245. public List<GoodsGalleryEntity> getGoodsImgList() {
  246. return goodsImgList;
  247. }
  248. public void setGoodsImgList(List<GoodsGalleryEntity> goodsImgList) {
  249. this.goodsImgList = goodsImgList;
  250. }
  251. public String getBrandName() {
  252. return brandName;
  253. }
  254. public void setBrandName(String brandName) {
  255. this.brandName = brandName;
  256. }
  257. public String getAttributeCategoryName() {
  258. return attributeCategoryName;
  259. }
  260. public void setAttributeCategoryName(String attributeCategoryName) {
  261. this.attributeCategoryName = attributeCategoryName;
  262. }
  263. public String getCategoryName() {
  264. return categoryName;
  265. }
  266. public void setCategoryName(String categoryName) {
  267. this.categoryName = categoryName;
  268. }
  269. /**
  270. * 设置:主键
  271. */
  272. public void setId(Long id) {
  273. this.id = id;
  274. }
  275. /**
  276. * 获取:主键
  277. */
  278. public Long getId() {
  279. return id;
  280. }
  281. /**
  282. * 设置:商品类型Id
  283. */
  284. public void setCategoryId(Integer categoryId) {
  285. this.categoryId = categoryId;
  286. }
  287. /**
  288. * 获取:商品类型Id
  289. */
  290. public Integer getCategoryId() {
  291. return categoryId;
  292. }
  293. /**
  294. * 设置:商品序列号
  295. */
  296. public void setGoodsSn(String goodsSn) {
  297. this.goodsSn = goodsSn;
  298. }
  299. /**
  300. * 获取:商品序列号
  301. */
  302. public String getGoodsSn() {
  303. return goodsSn;
  304. }
  305. /**
  306. * 设置:名称
  307. */
  308. public void setName(String name) {
  309. this.name = name;
  310. }
  311. /**
  312. * 获取:名称
  313. */
  314. public String getName() {
  315. return name;
  316. }
  317. public Integer getFreightId() {
  318. return freightId;
  319. }
  320. public void setFreightId(Integer freightId) {
  321. this.freightId = freightId;
  322. }
  323. /**
  324. * 设置:品牌Id
  325. */
  326. public void setBrandId(Integer brandId) {
  327. this.brandId = brandId;
  328. }
  329. /**
  330. * 获取:品牌Id
  331. */
  332. public Integer getBrandId() {
  333. return brandId;
  334. }
  335. public String getBrand() {
  336. return brand;
  337. }
  338. public void setBrand(String brand) {
  339. this.brand = brand;
  340. }
  341. /**
  342. * 设置:商品序列号
  343. */
  344. public void setGoodsNumber(Integer goodsNumber) {
  345. this.goodsNumber = goodsNumber;
  346. }
  347. /**
  348. * 获取:商品序列号
  349. */
  350. public Integer getGoodsNumber() {
  351. return goodsNumber;
  352. }
  353. /**
  354. * 设置:关键字
  355. */
  356. public void setKeywords(String keywords) {
  357. this.keywords = keywords;
  358. }
  359. /**
  360. * 获取:关键字
  361. */
  362. public String getKeywords() {
  363. return keywords;
  364. }
  365. /**
  366. * 设置:简明介绍
  367. */
  368. public void setGoodsBrief(String goodsBrief) {
  369. this.goodsBrief = goodsBrief;
  370. }
  371. /**
  372. * 获取:简明介绍
  373. */
  374. public String getGoodsBrief() {
  375. return goodsBrief;
  376. }
  377. /**
  378. * 设置:商品描述
  379. */
  380. public void setGoodsDesc(String goodsDesc) {
  381. this.goodsDesc = goodsDesc;
  382. }
  383. /**
  384. * 获取:商品描述
  385. */
  386. public String getGoodsDesc() {
  387. return goodsDesc;
  388. }
  389. /**
  390. * 设置:上架
  391. */
  392. public void setIsOnSale(Integer isOnSale) {
  393. this.isOnSale = isOnSale;
  394. }
  395. /**
  396. * 获取:上架
  397. */
  398. public Integer getIsOnSale() {
  399. return isOnSale;
  400. }
  401. /**
  402. * 设置:添加时间
  403. */
  404. public void setAddTime(Date addTime) {
  405. this.addTime = addTime;
  406. }
  407. /**
  408. * 获取:添加时间
  409. */
  410. public Date getAddTime() {
  411. return addTime;
  412. }
  413. /**
  414. * 设置:排序
  415. */
  416. public void setSortOrder(Integer sortOrder) {
  417. this.sortOrder = sortOrder;
  418. }
  419. /**
  420. * 获取:排序
  421. */
  422. public Integer getSortOrder() {
  423. return sortOrder;
  424. }
  425. /**
  426. * 设置:删除状态
  427. */
  428. public void setIsDelete(Integer isDelete) {
  429. this.isDelete = isDelete;
  430. }
  431. /**
  432. * 获取:删除状态
  433. */
  434. public Integer getIsDelete() {
  435. return isDelete;
  436. }
  437. /**
  438. * 设置:属性类别
  439. */
  440. public void setAttributeCategory(Integer attributeCategory) {
  441. this.attributeCategory = attributeCategory;
  442. }
  443. /**
  444. * 获取:属性类别
  445. */
  446. public Integer getAttributeCategory() {
  447. return attributeCategory;
  448. }
  449. /**
  450. * 设置:专柜价格
  451. */
  452. public void setCounterPrice(BigDecimal counterPrice) {
  453. this.counterPrice = counterPrice;
  454. }
  455. /**
  456. * 获取:专柜价格
  457. */
  458. public BigDecimal getCounterPrice() {
  459. return counterPrice;
  460. }
  461. /**
  462. * 设置:附加价格
  463. */
  464. public void setExtraPrice(BigDecimal extraPrice) {
  465. this.extraPrice = extraPrice;
  466. }
  467. /**
  468. * 获取:附加价格
  469. */
  470. public BigDecimal getExtraPrice() {
  471. return extraPrice;
  472. }
  473. /**
  474. * 设置:是否新商品
  475. */
  476. public void setIsNew(Integer isNew) {
  477. this.isNew = isNew;
  478. }
  479. /**
  480. * 获取:是否新商品
  481. */
  482. public Integer getIsNew() {
  483. return isNew;
  484. }
  485. /**
  486. * 设置:商品单位
  487. */
  488. public void setGoodsUnit(String goodsUnit) {
  489. this.goodsUnit = goodsUnit;
  490. }
  491. /**
  492. * 获取:商品单位
  493. */
  494. public String getGoodsUnit() {
  495. return goodsUnit;
  496. }
  497. /**
  498. * 设置:商品主图
  499. */
  500. public void setPrimaryPicUrl(String primaryPicUrl) {
  501. this.primaryPicUrl = primaryPicUrl;
  502. }
  503. /**
  504. * 获取:商品主图
  505. */
  506. public String getPrimaryPicUrl() {
  507. return primaryPicUrl;
  508. }
  509. /**
  510. * 设置:商品列表图
  511. */
  512. public void setListPicUrl(String listPicUrl) {
  513. this.listPicUrl = listPicUrl;
  514. }
  515. /**
  516. * 获取:商品列表图
  517. */
  518. public String getListPicUrl() {
  519. return listPicUrl;
  520. }
  521. public BigDecimal getGoodsRate() {
  522. return goodsRate;
  523. }
  524. public void setGoodsRate(BigDecimal goodsRate) {
  525. this.goodsRate = goodsRate;
  526. }
  527. /**
  528. * 设置:零售价格
  529. */
  530. public void setRetailPrice(BigDecimal retailPrice) {
  531. this.retailPrice = retailPrice;
  532. }
  533. /**
  534. * 获取:零售价格
  535. */
  536. public BigDecimal getRetailPrice() {
  537. return retailPrice;
  538. }
  539. /**
  540. * 设置:销售量
  541. */
  542. public void setSellVolume(Integer sellVolume) {
  543. this.sellVolume = sellVolume;
  544. }
  545. /**
  546. * 获取:销售量
  547. */
  548. public Integer getSellVolume() {
  549. return sellVolume;
  550. }
  551. /**
  552. * 设置:主sku product_id
  553. */
  554. public void setPrimaryProductId(Long primaryProductId) {
  555. this.primaryProductId = primaryProductId;
  556. }
  557. /**
  558. * 获取:主sku product_id
  559. */
  560. public Long getPrimaryProductId() {
  561. return primaryProductId;
  562. }
  563. /**
  564. * 设置:单位价格,单价
  565. */
  566. public void setUnitPrice(BigDecimal unitPrice) {
  567. this.unitPrice = unitPrice;
  568. }
  569. /**
  570. * 获取:单位价格,单价
  571. */
  572. public BigDecimal getUnitPrice() {
  573. return unitPrice;
  574. }
  575. /**
  576. * 设置:推广描述
  577. */
  578. public void setPromotionDesc(String promotionDesc) {
  579. this.promotionDesc = promotionDesc;
  580. }
  581. /**
  582. * 获取:推广描述
  583. */
  584. public String getPromotionDesc() {
  585. return promotionDesc;
  586. }
  587. /**
  588. * 设置:推广标签
  589. */
  590. public void setPromotionTag(String promotionTag) {
  591. this.promotionTag = promotionTag;
  592. }
  593. /**
  594. * 获取:推广标签
  595. */
  596. public String getPromotionTag() {
  597. return promotionTag;
  598. }
  599. /**
  600. * 设置:APP专享价
  601. */
  602. public void setAppExclusivePrice(BigDecimal appExclusivePrice) {
  603. this.appExclusivePrice = appExclusivePrice;
  604. }
  605. /**
  606. * 获取:APP专享价
  607. */
  608. public BigDecimal getAppExclusivePrice() {
  609. return appExclusivePrice;
  610. }
  611. /**
  612. * 设置:是否是APP专属
  613. */
  614. public void setIsAppExclusive(Integer isAppExclusive) {
  615. this.isAppExclusive = isAppExclusive;
  616. }
  617. /**
  618. * 获取:是否是APP专属
  619. */
  620. public Integer getIsAppExclusive() {
  621. return isAppExclusive;
  622. }
  623. /**
  624. * 设置:限购
  625. */
  626. public void setIsLimited(Integer isLimited) {
  627. this.isLimited = isLimited;
  628. }
  629. /**
  630. * 获取:限购
  631. */
  632. public Integer getIsLimited() {
  633. return isLimited;
  634. }
  635. /**
  636. * 设置:热销
  637. */
  638. public void setIsHot(Integer isHot) {
  639. this.isHot = isHot;
  640. }
  641. /**
  642. * 获取:热销
  643. */
  644. public Integer getIsHot() {
  645. return isHot;
  646. }
  647. public BigDecimal getMarketPrice() {
  648. return marketPrice;
  649. }
  650. public void setMarketPrice(BigDecimal marketPrice) {
  651. this.marketPrice = marketPrice;
  652. }
  653. public List<GoodsAttributeEntity> getAttributeEntityList() {
  654. return attributeEntityList;
  655. }
  656. public void setAttributeEntityList(List<GoodsAttributeEntity> attributeEntityList) {
  657. this.attributeEntityList = attributeEntityList;
  658. }
  659. public Long getCreateUserId() {
  660. return createUserId;
  661. }
  662. public void setCreateUserId(Long createUserId) {
  663. this.createUserId = createUserId;
  664. }
  665. public Long getUpdateUserId() {
  666. return updateUserId;
  667. }
  668. public void setUpdateUserId(Long updateUserId) {
  669. this.updateUserId = updateUserId;
  670. }
  671. public Date getUpdateTime() {
  672. return updateTime;
  673. }
  674. public void setUpdateTime(Date updateTime) {
  675. this.updateTime = updateTime;
  676. }
  677. public List<ProductEntity> getProductEntityList() {
  678. return productEntityList;
  679. }
  680. public void setProductEntityList(List<ProductEntity> productEntityList) {
  681. this.productEntityList = productEntityList;
  682. }
  683. public Integer getGoodsType() {
  684. return goodsType;
  685. }
  686. public void setGoodsType(Integer goodsType) {
  687. this.goodsType = goodsType;
  688. }
  689. public String getProdBarcode() {
  690. return prodBarcode;
  691. }
  692. public void setProdBarcode(String prodBarcode) {
  693. this.prodBarcode = prodBarcode;
  694. }
  695. public String getUnitCode() {
  696. return unitCode;
  697. }
  698. public void setUnitCode(String unitCode) {
  699. this.unitCode = unitCode;
  700. }
  701. public String getCusGoodsCode() {
  702. return cusGoodsCode;
  703. }
  704. public void setCusGoodsCode(String cusGoodsCode) {
  705. this.cusGoodsCode = cusGoodsCode;
  706. }
  707. public String getCiqProdModel() {
  708. return ciqProdModel;
  709. }
  710. public void setCiqProdModel(String ciqProdModel) {
  711. this.ciqProdModel = ciqProdModel;
  712. }
  713. public String getOriCntCode() {
  714. return oriCntCode;
  715. }
  716. public void setOriCntCode(String oriCntCode) {
  717. this.oriCntCode = oriCntCode;
  718. }
  719. public String getCusDeclEle() {
  720. return cusDeclEle;
  721. }
  722. public void setCusDeclEle(String cusDeclEle) {
  723. this.cusDeclEle = cusDeclEle;
  724. }
  725. public String getCusRecCode() {
  726. return cusRecCode;
  727. }
  728. public void setCusRecCode(String cusRecCode) {
  729. this.cusRecCode = cusRecCode;
  730. }
  731. }