GoodsVo.java 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  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. public BigDecimal getGoodsRate() {
  92. return goodsRate;
  93. }
  94. public void setGoodsRate(BigDecimal goodsRate) {
  95. this.goodsRate = goodsRate;
  96. }
  97. public String getSku() {
  98. return sku;
  99. }
  100. public void setSku(String sku) {
  101. this.sku = sku;
  102. }
  103. public String getGoodsBizType() {
  104. return goodsBizType;
  105. }
  106. public void setGoodsBizType(String goodsBizType) {
  107. this.goodsBizType = goodsBizType;
  108. }
  109. public String getCreaterSn() {
  110. return createrSn;
  111. }
  112. public void setCreaterSn(String createrSn) {
  113. this.createrSn = createrSn;
  114. }
  115. public Date getCreateTime() {
  116. return createTime;
  117. }
  118. public void setCreateTime(Date createTime) {
  119. this.createTime = createTime;
  120. }
  121. public String getModerSn() {
  122. return moderSn;
  123. }
  124. public void setModerSn(String moderSn) {
  125. this.moderSn = moderSn;
  126. }
  127. public Date getModTime() {
  128. return modTime;
  129. }
  130. public void setModTime(Date modTime) {
  131. this.modTime = modTime;
  132. }
  133. public Date getTstm() {
  134. return tstm;
  135. }
  136. public void setTstm(Date tstm) {
  137. this.tstm = tstm;
  138. }
  139. public Long getId() {
  140. return id;
  141. }
  142. public void setId(Long id) {
  143. this.id = id;
  144. }
  145. public Integer getCategory_id() {
  146. return category_id;
  147. }
  148. public void setCategory_id(Integer category_id) {
  149. this.category_id = category_id;
  150. }
  151. public String getGoods_sn() {
  152. return goods_sn;
  153. }
  154. public void setGoods_sn(String goods_sn) {
  155. this.goods_sn = goods_sn;
  156. }
  157. public String getName() {
  158. return name;
  159. }
  160. public void setName(String name) {
  161. this.name = name;
  162. }
  163. public Integer getBrand_id() {
  164. return brand_id;
  165. }
  166. public void setBrand_id(Integer brand_id) {
  167. this.brand_id = brand_id;
  168. }
  169. public Integer getGoods_number() {
  170. return goods_number;
  171. }
  172. public void setGoods_number(Integer goods_number) {
  173. this.goods_number = goods_number;
  174. }
  175. public String getKeywords() {
  176. return keywords;
  177. }
  178. public void setKeywords(String keywords) {
  179. this.keywords = keywords;
  180. }
  181. public String getGoods_brief() {
  182. return goods_brief;
  183. }
  184. public void setGoods_brief(String goods_brief) {
  185. this.goods_brief = goods_brief;
  186. }
  187. public String getGoods_desc() {
  188. return goods_desc;
  189. }
  190. public void setGoods_desc(String goods_desc) {
  191. this.goods_desc = goods_desc;
  192. }
  193. public Integer getIs_on_sale() {
  194. return is_on_sale;
  195. }
  196. public void setIs_on_sale(Integer is_on_sale) {
  197. this.is_on_sale = is_on_sale;
  198. }
  199. public Date getAdd_time() {
  200. return add_time;
  201. }
  202. public void setAdd_time(Date add_time) {
  203. this.add_time = add_time;
  204. }
  205. public Integer getSort_order() {
  206. return sort_order;
  207. }
  208. public void setSort_order(Integer sort_order) {
  209. this.sort_order = sort_order;
  210. }
  211. public Integer getIs_delete() {
  212. return is_delete;
  213. }
  214. public void setIs_delete(Integer is_delete) {
  215. this.is_delete = is_delete;
  216. }
  217. public Integer getAttribute_category() {
  218. return attribute_category;
  219. }
  220. public void setAttribute_category(Integer attribute_category) {
  221. this.attribute_category = attribute_category;
  222. }
  223. public BigDecimal getCounter_price() {
  224. return counter_price;
  225. }
  226. public void setCounter_price(BigDecimal counter_price) {
  227. this.counter_price = counter_price;
  228. }
  229. public BigDecimal getExtra_price() {
  230. return extra_price;
  231. }
  232. public void setExtra_price(BigDecimal extra_price) {
  233. this.extra_price = extra_price;
  234. }
  235. public Integer getIs_new() {
  236. return is_new;
  237. }
  238. public void setIs_new(Integer is_new) {
  239. this.is_new = is_new;
  240. }
  241. public String getGoods_unit() {
  242. return goods_unit;
  243. }
  244. public void setGoods_unit(String goods_unit) {
  245. this.goods_unit = goods_unit;
  246. }
  247. public String getPrimary_pic_url() {
  248. return primary_pic_url;
  249. }
  250. public void setPrimary_pic_url(String primary_pic_url) {
  251. this.primary_pic_url = primary_pic_url;
  252. }
  253. public String getList_pic_url() {
  254. return list_pic_url;
  255. }
  256. public void setList_pic_url(String list_pic_url) {
  257. this.list_pic_url = list_pic_url;
  258. }
  259. public BigDecimal getRetail_price() {
  260. return retail_price;
  261. }
  262. public void setRetail_price(BigDecimal retail_price) {
  263. this.retail_price = retail_price;
  264. }
  265. public Integer getSell_volume() {
  266. return sell_volume;
  267. }
  268. public void setSell_volume(Integer sell_volume) {
  269. this.sell_volume = sell_volume;
  270. }
  271. public Integer getPrimary_product_id() {
  272. return primary_product_id;
  273. }
  274. public void setPrimary_product_id(Integer primary_product_id) {
  275. this.primary_product_id = primary_product_id;
  276. }
  277. public BigDecimal getUnit_price() {
  278. return unit_price;
  279. }
  280. public void setUnit_price(BigDecimal unit_price) {
  281. this.unit_price = unit_price;
  282. }
  283. public String getPromotion_desc() {
  284. return promotion_desc;
  285. }
  286. public void setPromotion_desc(String promotion_desc) {
  287. this.promotion_desc = promotion_desc;
  288. }
  289. public String getPromotion_tag() {
  290. return promotion_tag;
  291. }
  292. public void setPromotion_tag(String promotion_tag) {
  293. this.promotion_tag = promotion_tag;
  294. }
  295. public BigDecimal getApp_exclusive_price() {
  296. return app_exclusive_price;
  297. }
  298. public void setApp_exclusive_price(BigDecimal app_exclusive_price) {
  299. this.app_exclusive_price = app_exclusive_price;
  300. }
  301. public Integer getIs_app_exclusive() {
  302. return is_app_exclusive;
  303. }
  304. public void setIs_app_exclusive(Integer is_app_exclusive) {
  305. this.is_app_exclusive = is_app_exclusive;
  306. }
  307. public Integer getIs_limited() {
  308. return is_limited;
  309. }
  310. public void setIs_limited(Integer is_limited) {
  311. this.is_limited = is_limited;
  312. }
  313. public Integer getIs_hot() {
  314. return is_hot;
  315. }
  316. public void setIs_hot(Integer is_hot) {
  317. this.is_hot = is_hot;
  318. }
  319. public Integer getCart_num() {
  320. return cart_num;
  321. }
  322. public void setCart_num(Integer cart_num) {
  323. this.cart_num = cart_num;
  324. }
  325. public Integer getProduct_id() {
  326. return product_id;
  327. }
  328. public void setProduct_id(Integer product_id) {
  329. this.product_id = product_id;
  330. }
  331. public BigDecimal getMarket_price() {
  332. return market_price;
  333. }
  334. public void setMarket_price(BigDecimal market_price) {
  335. this.market_price = market_price;
  336. }
  337. public Integer getStock_num() {
  338. return stock_num;
  339. }
  340. public void setStock_num(Integer stock_num) {
  341. this.stock_num = stock_num;
  342. }
  343. public Long getGroup_id() {
  344. return group_id;
  345. }
  346. public void setGroup_id(Long group_id) {
  347. this.group_id = group_id;
  348. }
  349. }