1
0

GoodsVo.java 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. package com.kmall.api.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. /**
  6. * @author Scott
  7. * @email
  8. * @date 2017-08-15 08:03:40
  9. */
  10. public class GoodsVo implements Serializable {
  11. private static final long serialVersionUID = 1L;
  12. //主键
  13. private Long id;
  14. //商品类型Id
  15. private Integer category_id;
  16. //商品序列号
  17. private String goods_sn;
  18. //名称
  19. private String name;
  20. //品牌Id
  21. private Integer brand_id;
  22. //商品库存
  23. private Integer goods_number;
  24. //关键字
  25. private String keywords;
  26. //简明介绍
  27. private String goods_brief;
  28. //商品描述
  29. private String goods_desc;
  30. //上架
  31. private Integer is_on_sale;
  32. //添加时间
  33. private Date add_time;
  34. //排序
  35. private Integer sort_order;
  36. //删除状态
  37. private Integer is_delete;
  38. //属性类别
  39. private Integer attribute_category;
  40. //专柜价格
  41. private BigDecimal counter_price;
  42. //附加价格
  43. private BigDecimal extra_price;
  44. //是否新商品
  45. private Integer is_new;
  46. //商品单位
  47. private String goods_unit;
  48. //商品主图
  49. private String primary_pic_url;
  50. //商品列表图
  51. private String list_pic_url;
  52. //市场价
  53. private BigDecimal market_price;
  54. //零售价格(现价)
  55. private BigDecimal retail_price;
  56. //销售量
  57. private Integer sell_volume;
  58. //主sku product_id
  59. private Integer primary_product_id;
  60. //单位价格,单价
  61. private BigDecimal unit_price;
  62. //推广描述
  63. private String promotion_desc;
  64. //推广标签
  65. private String promotion_tag;
  66. //APP专享价
  67. private BigDecimal app_exclusive_price;
  68. //是否是APP专属
  69. private Integer is_app_exclusive;
  70. //限购
  71. private Integer is_limited;
  72. //热销
  73. private Integer is_hot;
  74. //购物车中商品数量
  75. private Integer cart_num = 0;
  76. // 冗余
  77. // 产品Id
  78. private Integer product_id;
  79. //商品库存,一般需要针对某个门店
  80. private Integer stock_num;
  81. // 团购Id
  82. private Long group_id;
  83. private String sku;
  84. private String goodsBizType;
  85. private String createrSn;
  86. private Date createTime;
  87. private String moderSn;
  88. private Date modTime;
  89. private Date tstm;
  90. private BigDecimal goodsRate;
  91. private Integer stockNum;
  92. public Integer getStockNum() {
  93. return stockNum;
  94. }
  95. public void setStockNum(Integer stockNum) {
  96. this.stockNum = stockNum;
  97. }
  98. public BigDecimal getGoodsRate() {
  99. return goodsRate;
  100. }
  101. public void setGoodsRate(BigDecimal goodsRate) {
  102. this.goodsRate = goodsRate;
  103. }
  104. public String getSku() {
  105. return sku;
  106. }
  107. public void setSku(String sku) {
  108. this.sku = sku;
  109. }
  110. public String getGoodsBizType() {
  111. return goodsBizType;
  112. }
  113. public void setGoodsBizType(String goodsBizType) {
  114. this.goodsBizType = goodsBizType;
  115. }
  116. public String getCreaterSn() {
  117. return createrSn;
  118. }
  119. public void setCreaterSn(String createrSn) {
  120. this.createrSn = createrSn;
  121. }
  122. public Date getCreateTime() {
  123. return createTime;
  124. }
  125. public void setCreateTime(Date createTime) {
  126. this.createTime = createTime;
  127. }
  128. public String getModerSn() {
  129. return moderSn;
  130. }
  131. public void setModerSn(String moderSn) {
  132. this.moderSn = moderSn;
  133. }
  134. public Date getModTime() {
  135. return modTime;
  136. }
  137. public void setModTime(Date modTime) {
  138. this.modTime = modTime;
  139. }
  140. public Date getTstm() {
  141. return tstm;
  142. }
  143. public void setTstm(Date tstm) {
  144. this.tstm = tstm;
  145. }
  146. public Long getId() {
  147. return id;
  148. }
  149. public void setId(Long id) {
  150. this.id = id;
  151. }
  152. public Integer getCategory_id() {
  153. return category_id;
  154. }
  155. public void setCategory_id(Integer category_id) {
  156. this.category_id = category_id;
  157. }
  158. public String getGoods_sn() {
  159. return goods_sn;
  160. }
  161. public void setGoods_sn(String goods_sn) {
  162. this.goods_sn = goods_sn;
  163. }
  164. public String getName() {
  165. return name;
  166. }
  167. public void setName(String name) {
  168. this.name = name;
  169. }
  170. public Integer getBrand_id() {
  171. return brand_id;
  172. }
  173. public void setBrand_id(Integer brand_id) {
  174. this.brand_id = brand_id;
  175. }
  176. public Integer getGoods_number() {
  177. return goods_number;
  178. }
  179. public void setGoods_number(Integer goods_number) {
  180. this.goods_number = goods_number;
  181. }
  182. public String getKeywords() {
  183. return keywords;
  184. }
  185. public void setKeywords(String keywords) {
  186. this.keywords = keywords;
  187. }
  188. public String getGoods_brief() {
  189. return goods_brief;
  190. }
  191. public void setGoods_brief(String goods_brief) {
  192. this.goods_brief = goods_brief;
  193. }
  194. public String getGoods_desc() {
  195. return goods_desc;
  196. }
  197. public void setGoods_desc(String goods_desc) {
  198. this.goods_desc = goods_desc;
  199. }
  200. public Integer getIs_on_sale() {
  201. return is_on_sale;
  202. }
  203. public void setIs_on_sale(Integer is_on_sale) {
  204. this.is_on_sale = is_on_sale;
  205. }
  206. public Date getAdd_time() {
  207. return add_time;
  208. }
  209. public void setAdd_time(Date add_time) {
  210. this.add_time = add_time;
  211. }
  212. public Integer getSort_order() {
  213. return sort_order;
  214. }
  215. public void setSort_order(Integer sort_order) {
  216. this.sort_order = sort_order;
  217. }
  218. public Integer getIs_delete() {
  219. return is_delete;
  220. }
  221. public void setIs_delete(Integer is_delete) {
  222. this.is_delete = is_delete;
  223. }
  224. public Integer getAttribute_category() {
  225. return attribute_category;
  226. }
  227. public void setAttribute_category(Integer attribute_category) {
  228. this.attribute_category = attribute_category;
  229. }
  230. public BigDecimal getCounter_price() {
  231. return counter_price;
  232. }
  233. public void setCounter_price(BigDecimal counter_price) {
  234. this.counter_price = counter_price;
  235. }
  236. public BigDecimal getExtra_price() {
  237. return extra_price;
  238. }
  239. public void setExtra_price(BigDecimal extra_price) {
  240. this.extra_price = extra_price;
  241. }
  242. public Integer getIs_new() {
  243. return is_new;
  244. }
  245. public void setIs_new(Integer is_new) {
  246. this.is_new = is_new;
  247. }
  248. public String getGoods_unit() {
  249. return goods_unit;
  250. }
  251. public void setGoods_unit(String goods_unit) {
  252. this.goods_unit = goods_unit;
  253. }
  254. public String getPrimary_pic_url() {
  255. return primary_pic_url;
  256. }
  257. public void setPrimary_pic_url(String primary_pic_url) {
  258. this.primary_pic_url = primary_pic_url;
  259. }
  260. public String getList_pic_url() {
  261. return list_pic_url;
  262. }
  263. public void setList_pic_url(String list_pic_url) {
  264. this.list_pic_url = list_pic_url;
  265. }
  266. public BigDecimal getRetail_price() {
  267. return retail_price;
  268. }
  269. public void setRetail_price(BigDecimal retail_price) {
  270. this.retail_price = retail_price;
  271. }
  272. public Integer getSell_volume() {
  273. return sell_volume;
  274. }
  275. public void setSell_volume(Integer sell_volume) {
  276. this.sell_volume = sell_volume;
  277. }
  278. public Integer getPrimary_product_id() {
  279. return primary_product_id;
  280. }
  281. public void setPrimary_product_id(Integer primary_product_id) {
  282. this.primary_product_id = primary_product_id;
  283. }
  284. public BigDecimal getUnit_price() {
  285. return unit_price;
  286. }
  287. public void setUnit_price(BigDecimal unit_price) {
  288. this.unit_price = unit_price;
  289. }
  290. public String getPromotion_desc() {
  291. return promotion_desc;
  292. }
  293. public void setPromotion_desc(String promotion_desc) {
  294. this.promotion_desc = promotion_desc;
  295. }
  296. public String getPromotion_tag() {
  297. return promotion_tag;
  298. }
  299. public void setPromotion_tag(String promotion_tag) {
  300. this.promotion_tag = promotion_tag;
  301. }
  302. public BigDecimal getApp_exclusive_price() {
  303. return app_exclusive_price;
  304. }
  305. public void setApp_exclusive_price(BigDecimal app_exclusive_price) {
  306. this.app_exclusive_price = app_exclusive_price;
  307. }
  308. public Integer getIs_app_exclusive() {
  309. return is_app_exclusive;
  310. }
  311. public void setIs_app_exclusive(Integer is_app_exclusive) {
  312. this.is_app_exclusive = is_app_exclusive;
  313. }
  314. public Integer getIs_limited() {
  315. return is_limited;
  316. }
  317. public void setIs_limited(Integer is_limited) {
  318. this.is_limited = is_limited;
  319. }
  320. public Integer getIs_hot() {
  321. return is_hot;
  322. }
  323. public void setIs_hot(Integer is_hot) {
  324. this.is_hot = is_hot;
  325. }
  326. public Integer getCart_num() {
  327. return cart_num;
  328. }
  329. public void setCart_num(Integer cart_num) {
  330. this.cart_num = cart_num;
  331. }
  332. public Integer getProduct_id() {
  333. return product_id;
  334. }
  335. public void setProduct_id(Integer product_id) {
  336. this.product_id = product_id;
  337. }
  338. public BigDecimal getMarket_price() {
  339. return market_price;
  340. }
  341. public void setMarket_price(BigDecimal market_price) {
  342. this.market_price = market_price;
  343. }
  344. public Integer getStock_num() {
  345. return stock_num;
  346. }
  347. public void setStock_num(Integer stock_num) {
  348. this.stock_num = stock_num;
  349. }
  350. public Long getGroup_id() {
  351. return group_id;
  352. }
  353. public void setGroup_id(Long group_id) {
  354. this.group_id = group_id;
  355. }
  356. }