GoodsEntity.java 17 KB

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