CartEntity.java 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. package com.kmall.admin.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. /**
  5. * @author Scott
  6. * @email
  7. * @date 2017-08-13 10:41:06
  8. */
  9. public class CartEntity implements Serializable {
  10. private static final long serialVersionUID = 1L;
  11. //主键
  12. private Integer id;
  13. //会员Id
  14. private Long userId;
  15. //storeId
  16. private String storeId;
  17. //商品Id
  18. private Integer goodsId;
  19. //商品序列号
  20. private String goodsSn;
  21. //产品Id
  22. private Integer productId;
  23. //产品名称
  24. private String goodsName;
  25. //市场价
  26. private BigDecimal marketPrice;
  27. //零售价格
  28. private BigDecimal retailPrice;
  29. //数量
  30. private Integer number;
  31. //规格属性组成的字符串,用来显示用
  32. private String goodsSpecificationNameValue;
  33. //product表对应的goods_specifition_ids
  34. private String goodsSpecificationIds;
  35. //
  36. private Integer checked;
  37. //商品图片
  38. private String listPicUrl;
  39. private String userName;
  40. /**
  41. * 设置:主键
  42. */
  43. public void setId(Integer id) {
  44. this.id = id;
  45. }
  46. /**
  47. * 获取:主键
  48. */
  49. public Integer getId() {
  50. return id;
  51. }
  52. public String getStoreId() {
  53. return storeId;
  54. }
  55. public void setStoreId(String storeId) {
  56. this.storeId = storeId;
  57. }
  58. /**
  59. * 设置:商品Id
  60. */
  61. public void setGoodsId(Integer goodsId) {
  62. this.goodsId = goodsId;
  63. }
  64. /**
  65. * 获取:商品Id
  66. */
  67. public Integer getGoodsId() {
  68. return goodsId;
  69. }
  70. /**
  71. * 设置:商品序列号
  72. */
  73. public void setGoodsSn(String goodsSn) {
  74. this.goodsSn = goodsSn;
  75. }
  76. /**
  77. * 获取:商品序列号
  78. */
  79. public String getGoodsSn() {
  80. return goodsSn;
  81. }
  82. /**
  83. * 设置:产品Id
  84. */
  85. public void setProductId(Integer productId) {
  86. this.productId = productId;
  87. }
  88. /**
  89. * 获取:产品Id
  90. */
  91. public Integer getProductId() {
  92. return productId;
  93. }
  94. /**
  95. * 设置:产品名称
  96. */
  97. public void setGoodsName(String goodsName) {
  98. this.goodsName = goodsName;
  99. }
  100. /**
  101. * 获取:产品名称
  102. */
  103. public String getGoodsName() {
  104. return goodsName;
  105. }
  106. /**
  107. * 设置:市场价
  108. */
  109. public void setMarketPrice(BigDecimal marketPrice) {
  110. this.marketPrice = marketPrice;
  111. }
  112. /**
  113. * 获取:市场价
  114. */
  115. public BigDecimal getMarketPrice() {
  116. return marketPrice;
  117. }
  118. /**
  119. * 设置:零售价格
  120. */
  121. public void setRetailPrice(BigDecimal retailPrice) {
  122. this.retailPrice = retailPrice;
  123. }
  124. /**
  125. * 获取:零售价格
  126. */
  127. public BigDecimal getRetailPrice() {
  128. return retailPrice;
  129. }
  130. /**
  131. * 设置:数量
  132. */
  133. public void setNumber(Integer number) {
  134. this.number = number;
  135. }
  136. /**
  137. * 获取:数量
  138. */
  139. public Integer getNumber() {
  140. return number;
  141. }
  142. /**
  143. * 设置:规格属性组成的字符串,用来显示用
  144. */
  145. public void setGoodsSpecifitionNameValue(String goodsSpecificationNameValue) {
  146. this.goodsSpecificationNameValue = goodsSpecificationNameValue;
  147. }
  148. /**
  149. * 获取:规格属性组成的字符串,用来显示用
  150. */
  151. public String getGoodsSpecifitionNameValue() {
  152. return goodsSpecificationNameValue;
  153. }
  154. /**
  155. * 设置:product表对应的goods_specifition_ids
  156. */
  157. public void setGoodsSpecifitionIds(String goodsSpecificationIds) {
  158. this.goodsSpecificationIds = goodsSpecificationIds;
  159. }
  160. /**
  161. * 获取:product表对应的goods_specifition_ids
  162. */
  163. public String getGoodsSpecifitionIds() {
  164. return goodsSpecificationIds;
  165. }
  166. /**
  167. * 设置:
  168. */
  169. public void setChecked(Integer checked) {
  170. this.checked = checked;
  171. }
  172. /**
  173. * 获取:
  174. */
  175. public Integer getChecked() {
  176. return checked;
  177. }
  178. /**
  179. * 设置:商品图片
  180. */
  181. public void setListPicUrl(String listPicUrl) {
  182. this.listPicUrl = listPicUrl;
  183. }
  184. /**
  185. * 获取:商品图片
  186. */
  187. public String getListPicUrl() {
  188. return listPicUrl;
  189. }
  190. public Long getUserId() {
  191. return userId;
  192. }
  193. public void setUserId(Long userId) {
  194. this.userId = userId;
  195. }
  196. public String getUserName() {
  197. return userName;
  198. }
  199. public void setUserName(String userName) {
  200. this.userName = userName;
  201. }
  202. }