GoodsVo.java 9.2 KB

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