GoodsVo.java 10 KB

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