GoodsDto.java 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. package com.kmall.admin.dto;
  2. import com.kmall.admin.entity.GoodsAttributeEntity;
  3. import com.kmall.admin.entity.GoodsGalleryEntity;
  4. import com.kmall.admin.entity.ProductEntity;
  5. import java.io.Serializable;
  6. import java.math.BigDecimal;
  7. import java.util.ArrayList;
  8. import java.util.Date;
  9. import java.util.List;
  10. /**
  11. * @author Scott
  12. * @email
  13. * @date 2017-08-13 10:41:08
  14. */
  15. public class GoodsDto implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17. //主键
  18. private Long id;
  19. //商品序列号
  20. private String goodsSn;
  21. //名称
  22. private String name;
  23. //品牌
  24. private String brand;
  25. //商品库存
  26. private Integer goodsNumber;
  27. //关键字
  28. private String keywords;
  29. //简明介绍
  30. private String goodsBrief;
  31. //商品描述
  32. private String goodsDesc;
  33. //添加时间
  34. private Date addTime;
  35. //排序
  36. private Integer sortOrder;
  37. //库存价格
  38. private String counterPrice;
  39. //附加价格
  40. private String extraPrice;
  41. //商品单位
  42. private String goodsUnit;
  43. //商品税率
  44. private String goodsRate;
  45. //零售价格
  46. private String retailPrice;
  47. //销售量
  48. private Integer sellVolume;
  49. //单位价格,单价
  50. private String unitPrice;
  51. //推广描述
  52. private String promotionDesc;
  53. //市场价
  54. private String marketPrice;
  55. /**
  56. * 产品条码
  57. */
  58. private String prodBarcode;
  59. /**
  60. * 计量单位代码,参见海关编码
  61. */
  62. private String unitCode;
  63. /**
  64. * 海关商品编码
  65. */
  66. private String cusGoodsCode;
  67. /**
  68. * 国检规格型号
  69. */
  70. private String ciqProdModel;
  71. /**
  72. * 原产国代码,海关编码
  73. */
  74. private String oriCntCode;
  75. /**
  76. * 海关申报要素,报统一版
  77. */
  78. private String cusDeclEle;
  79. /**
  80. * 海关备案编号,企业自编,用于报园区
  81. */
  82. private String cusRecCode;
  83. private String sku;
  84. private String goodsBizType;
  85. // 商品类型
  86. private Integer goodsType = 0; // 0普通 1 2团购
  87. private String stockNum;
  88. private String storeName;
  89. private String productId;
  90. private Integer storeId;
  91. //商品类型
  92. private String categoryName;
  93. //品牌
  94. private String brandName;
  95. private String unitName;
  96. private String oriCntName;
  97. private String supplierName;
  98. private String defaultFreight;
  99. //上架
  100. private String isOnSaleStr;
  101. //热销
  102. private String isHotStr;
  103. public Integer getStoreId() {
  104. return storeId;
  105. }
  106. public void setStoreId(Integer storeId) {
  107. this.storeId = storeId;
  108. }
  109. public String getProductId() {
  110. return productId;
  111. }
  112. public void setProductId(String productId) {
  113. this.productId = productId;
  114. }
  115. public String getStockNum() {
  116. return stockNum;
  117. }
  118. public void setStockNum(String stockNum) {
  119. this.stockNum = stockNum;
  120. }
  121. public String getStoreName() {
  122. return storeName;
  123. }
  124. public void setStoreName(String storeName) {
  125. this.storeName = storeName;
  126. }
  127. public String getSku() {
  128. return sku;
  129. }
  130. public void setSku(String sku) {
  131. this.sku = sku;
  132. }
  133. public String getGoodsBizType() {
  134. return goodsBizType;
  135. }
  136. public void setGoodsBizType(String goodsBizType) {
  137. this.goodsBizType = goodsBizType;
  138. }
  139. public String getBrandName() {
  140. return brandName;
  141. }
  142. public void setBrandName(String brandName) {
  143. this.brandName = brandName;
  144. }
  145. public String getCategoryName() {
  146. return categoryName;
  147. }
  148. public void setCategoryName(String categoryName) {
  149. this.categoryName = categoryName;
  150. }
  151. /**
  152. * 设置:主键
  153. */
  154. public void setId(Long id) {
  155. this.id = id;
  156. }
  157. /**
  158. * 获取:主键
  159. */
  160. public Long getId() {
  161. return id;
  162. }
  163. /**
  164. * 设置:商品序列号
  165. */
  166. public void setGoodsSn(String goodsSn) {
  167. this.goodsSn = goodsSn;
  168. }
  169. /**
  170. * 获取:商品序列号
  171. */
  172. public String getGoodsSn() {
  173. return goodsSn;
  174. }
  175. /**
  176. * 设置:名称
  177. */
  178. public void setName(String name) {
  179. this.name = name;
  180. }
  181. /**
  182. * 获取:名称
  183. */
  184. public String getName() {
  185. return name;
  186. }
  187. public String getBrand() {
  188. return brand;
  189. }
  190. public void setBrand(String brand) {
  191. this.brand = brand;
  192. }
  193. /**
  194. * 设置:商品序列号
  195. */
  196. public void setGoodsNumber(Integer goodsNumber) {
  197. this.goodsNumber = goodsNumber;
  198. }
  199. /**
  200. * 获取:商品序列号
  201. */
  202. public Integer getGoodsNumber() {
  203. return goodsNumber;
  204. }
  205. /**
  206. * 设置:关键字
  207. */
  208. public void setKeywords(String keywords) {
  209. this.keywords = keywords;
  210. }
  211. /**
  212. * 获取:关键字
  213. */
  214. public String getKeywords() {
  215. return keywords;
  216. }
  217. /**
  218. * 设置:简明介绍
  219. */
  220. public void setGoodsBrief(String goodsBrief) {
  221. this.goodsBrief = goodsBrief;
  222. }
  223. /**
  224. * 获取:简明介绍
  225. */
  226. public String getGoodsBrief() {
  227. return goodsBrief;
  228. }
  229. /**
  230. * 设置:商品描述
  231. */
  232. public void setGoodsDesc(String goodsDesc) {
  233. this.goodsDesc = goodsDesc;
  234. }
  235. /**
  236. * 获取:商品描述
  237. */
  238. public String getGoodsDesc() {
  239. return goodsDesc;
  240. }
  241. /**
  242. * 设置:添加时间
  243. */
  244. public void setAddTime(Date addTime) {
  245. this.addTime = addTime;
  246. }
  247. /**
  248. * 获取:添加时间
  249. */
  250. public Date getAddTime() {
  251. return addTime;
  252. }
  253. /**
  254. * 设置:排序
  255. */
  256. public void setSortOrder(Integer sortOrder) {
  257. this.sortOrder = sortOrder;
  258. }
  259. /**
  260. * 获取:排序
  261. */
  262. public Integer getSortOrder() {
  263. return sortOrder;
  264. }
  265. /**
  266. * 设置:商品单位
  267. */
  268. public void setGoodsUnit(String goodsUnit) {
  269. this.goodsUnit = goodsUnit;
  270. }
  271. /**
  272. * 获取:商品单位
  273. */
  274. public String getGoodsUnit() {
  275. return goodsUnit;
  276. }
  277. public String getGoodsRate() {
  278. return goodsRate;
  279. }
  280. public void setGoodsRate(String goodsRate) {
  281. this.goodsRate = goodsRate;
  282. }
  283. /**
  284. * 设置:零售价格
  285. */
  286. public void setRetailPrice(String retailPrice) {
  287. this.retailPrice = retailPrice;
  288. }
  289. /**
  290. * 获取:零售价格
  291. */
  292. public String getRetailPrice() {
  293. return retailPrice;
  294. }
  295. public String getMarketPrice() {
  296. return marketPrice;
  297. }
  298. public void setMarketPrice(String marketPrice) {
  299. this.marketPrice = marketPrice;
  300. }
  301. public String getProdBarcode() {
  302. return prodBarcode;
  303. }
  304. public void setProdBarcode(String prodBarcode) {
  305. this.prodBarcode = prodBarcode;
  306. }
  307. public String getUnitCode() {
  308. return unitCode;
  309. }
  310. public void setUnitCode(String unitCode) {
  311. this.unitCode = unitCode;
  312. }
  313. public String getCusGoodsCode() {
  314. return cusGoodsCode;
  315. }
  316. public void setCusGoodsCode(String cusGoodsCode) {
  317. this.cusGoodsCode = cusGoodsCode;
  318. }
  319. public String getCiqProdModel() {
  320. return ciqProdModel;
  321. }
  322. public void setCiqProdModel(String ciqProdModel) {
  323. this.ciqProdModel = ciqProdModel;
  324. }
  325. public String getOriCntCode() {
  326. return oriCntCode;
  327. }
  328. public void setOriCntCode(String oriCntCode) {
  329. this.oriCntCode = oriCntCode;
  330. }
  331. public String getCusDeclEle() {
  332. return cusDeclEle;
  333. }
  334. public void setCusDeclEle(String cusDeclEle) {
  335. this.cusDeclEle = cusDeclEle;
  336. }
  337. public String getCusRecCode() {
  338. return cusRecCode;
  339. }
  340. public void setCusRecCode(String cusRecCode) {
  341. this.cusRecCode = cusRecCode;
  342. }
  343. public String getSupplierName() {
  344. return supplierName;
  345. }
  346. public void setSupplierName(String supplierName) {
  347. this.supplierName = supplierName;
  348. }
  349. public String getDefaultFreight() {
  350. return defaultFreight;
  351. }
  352. public void setDefaultFreight(String defaultFreight) {
  353. this.defaultFreight = defaultFreight;
  354. }
  355. public String getUnitName() {
  356. return unitName;
  357. }
  358. public void setUnitName(String unitName) {
  359. this.unitName = unitName;
  360. }
  361. public String getOriCntName() {
  362. return oriCntName;
  363. }
  364. public void setOriCntName(String oriCntName) {
  365. this.oriCntName = oriCntName;
  366. }
  367. public String getIsOnSaleStr() {
  368. return isOnSaleStr;
  369. }
  370. public void setIsOnSaleStr(String isOnSaleStr) {
  371. this.isOnSaleStr = isOnSaleStr;
  372. }
  373. public String getIsHotStr() {
  374. return isHotStr;
  375. }
  376. public void setIsHotStr(String isHotStr) {
  377. this.isHotStr = isHotStr;
  378. }
  379. }