CartEntity.java 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. package com.kmall.admin.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-13 10:41:06
  9. */
  10. public class CartEntity implements Serializable {
  11. private static final long serialVersionUID = 1L;
  12. //主键
  13. private Integer id;
  14. //会员Id
  15. private Long userId;
  16. //storeId
  17. private String storeId;
  18. //商品Id
  19. private Integer goodsId;
  20. //商品序列号
  21. private String goodsSn;
  22. //产品Id
  23. private Integer productId;
  24. //产品名称
  25. private String goodsName;
  26. //市场价
  27. private BigDecimal marketPrice;
  28. //零售价格
  29. private BigDecimal retailPrice;
  30. //数量
  31. private Integer number;
  32. //规格属性组成的字符串,用来显示用
  33. private String goodsSpecificationNameValue;
  34. //product表对应的goods_specifition_ids
  35. private String goodsSpecificationIds;
  36. //
  37. private Integer checked;
  38. //商品图片
  39. private String listPicUrl;
  40. private String userName;
  41. private String sku;
  42. private String goodsBizType;
  43. private String createrSn;
  44. private Date createTime;
  45. private String moderSn;
  46. private Date modTime;
  47. private Date tstm;
  48. private Integer stockNum;
  49. private String storeName;
  50. /**
  51. * 设置:主键
  52. */
  53. public void setId(Integer id) {
  54. this.id = id;
  55. }
  56. /**
  57. * 获取:主键
  58. */
  59. public Integer getId() {
  60. return id;
  61. }
  62. public String getStoreId() {
  63. return storeId;
  64. }
  65. public void setStoreId(String storeId) {
  66. this.storeId = storeId;
  67. }
  68. /**
  69. * 设置:商品Id
  70. */
  71. public void setGoodsId(Integer goodsId) {
  72. this.goodsId = goodsId;
  73. }
  74. /**
  75. * 获取:商品Id
  76. */
  77. public Integer getGoodsId() {
  78. return goodsId;
  79. }
  80. /**
  81. * 设置:商品序列号
  82. */
  83. public void setGoodsSn(String goodsSn) {
  84. this.goodsSn = goodsSn;
  85. }
  86. /**
  87. * 获取:商品序列号
  88. */
  89. public String getGoodsSn() {
  90. return goodsSn;
  91. }
  92. /**
  93. * 设置:产品Id
  94. */
  95. public void setProductId(Integer productId) {
  96. this.productId = productId;
  97. }
  98. /**
  99. * 获取:产品Id
  100. */
  101. public Integer getProductId() {
  102. return productId;
  103. }
  104. /**
  105. * 设置:产品名称
  106. */
  107. public void setGoodsName(String goodsName) {
  108. this.goodsName = goodsName;
  109. }
  110. /**
  111. * 获取:产品名称
  112. */
  113. public String getGoodsName() {
  114. return goodsName;
  115. }
  116. /**
  117. * 设置:市场价
  118. */
  119. public void setMarketPrice(BigDecimal marketPrice) {
  120. this.marketPrice = marketPrice;
  121. }
  122. /**
  123. * 获取:市场价
  124. */
  125. public BigDecimal getMarketPrice() {
  126. return marketPrice;
  127. }
  128. /**
  129. * 设置:零售价格
  130. */
  131. public void setRetailPrice(BigDecimal retailPrice) {
  132. this.retailPrice = retailPrice;
  133. }
  134. /**
  135. * 获取:零售价格
  136. */
  137. public BigDecimal getRetailPrice() {
  138. return retailPrice;
  139. }
  140. /**
  141. * 设置:数量
  142. */
  143. public void setNumber(Integer number) {
  144. this.number = number;
  145. }
  146. /**
  147. * 获取:数量
  148. */
  149. public Integer getNumber() {
  150. return number;
  151. }
  152. /**
  153. * 设置:规格属性组成的字符串,用来显示用
  154. */
  155. public void setGoodsSpecifitionNameValue(String goodsSpecificationNameValue) {
  156. this.goodsSpecificationNameValue = goodsSpecificationNameValue;
  157. }
  158. /**
  159. * 获取:规格属性组成的字符串,用来显示用
  160. */
  161. public String getGoodsSpecifitionNameValue() {
  162. return goodsSpecificationNameValue;
  163. }
  164. /**
  165. * 设置:product表对应的goods_specifition_ids
  166. */
  167. public void setGoodsSpecifitionIds(String goodsSpecificationIds) {
  168. this.goodsSpecificationIds = goodsSpecificationIds;
  169. }
  170. /**
  171. * 获取:product表对应的goods_specifition_ids
  172. */
  173. public String getGoodsSpecifitionIds() {
  174. return goodsSpecificationIds;
  175. }
  176. /**
  177. * 设置:
  178. */
  179. public void setChecked(Integer checked) {
  180. this.checked = checked;
  181. }
  182. /**
  183. * 获取:
  184. */
  185. public Integer getChecked() {
  186. return checked;
  187. }
  188. /**
  189. * 设置:商品图片
  190. */
  191. public void setListPicUrl(String listPicUrl) {
  192. this.listPicUrl = listPicUrl;
  193. }
  194. /**
  195. * 获取:商品图片
  196. */
  197. public String getListPicUrl() {
  198. return listPicUrl;
  199. }
  200. public Long getUserId() {
  201. return userId;
  202. }
  203. public void setUserId(Long userId) {
  204. this.userId = userId;
  205. }
  206. public String getUserName() {
  207. return userName;
  208. }
  209. public void setUserName(String userName) {
  210. this.userName = userName;
  211. }
  212. public String getGoodsSpecificationNameValue() {
  213. return goodsSpecificationNameValue;
  214. }
  215. public void setGoodsSpecificationNameValue(String goodsSpecificationNameValue) {
  216. this.goodsSpecificationNameValue = goodsSpecificationNameValue;
  217. }
  218. public String getGoodsSpecificationIds() {
  219. return goodsSpecificationIds;
  220. }
  221. public void setGoodsSpecificationIds(String goodsSpecificationIds) {
  222. this.goodsSpecificationIds = goodsSpecificationIds;
  223. }
  224. public String getSku() {
  225. return sku;
  226. }
  227. public void setSku(String sku) {
  228. this.sku = sku;
  229. }
  230. public String getGoodsBizType() {
  231. return goodsBizType;
  232. }
  233. public void setGoodsBizType(String goodsBizType) {
  234. this.goodsBizType = goodsBizType;
  235. }
  236. public String getCreaterSn() {
  237. return createrSn;
  238. }
  239. public void setCreaterSn(String createrSn) {
  240. this.createrSn = createrSn;
  241. }
  242. public Date getCreateTime() {
  243. return createTime;
  244. }
  245. public void setCreateTime(Date createTime) {
  246. this.createTime = createTime;
  247. }
  248. public String getModerSn() {
  249. return moderSn;
  250. }
  251. public void setModerSn(String moderSn) {
  252. this.moderSn = moderSn;
  253. }
  254. public Date getModTime() {
  255. return modTime;
  256. }
  257. public void setModTime(Date modTime) {
  258. this.modTime = modTime;
  259. }
  260. public Date getTstm() {
  261. return tstm;
  262. }
  263. public void setTstm(Date tstm) {
  264. this.tstm = tstm;
  265. }
  266. public Integer getStockNum() {
  267. return stockNum;
  268. }
  269. public void setStockNum(Integer stockNum) {
  270. this.stockNum = stockNum;
  271. }
  272. public String getStoreName() {
  273. return storeName;
  274. }
  275. public void setStoreName(String storeName) {
  276. this.storeName = storeName;
  277. }
  278. }