1
0

CouponGoodsEntity.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.kmall.admin.entity;
  2. import java.io.Serializable;
  3. /**
  4. * 优惠券关联商品实体
  5. * 表名 mall_coupon_goods
  6. *
  7. * @author Scott
  8. * @email
  9. * @date 2017-08-29 21:50:17
  10. */
  11. public class CouponGoodsEntity implements Serializable {
  12. private static final long serialVersionUID = 1L;
  13. //主键
  14. private Integer id;
  15. //优惠券Id
  16. private Integer couponId;
  17. //商品id
  18. private Integer goodsId;
  19. /**
  20. * 设置:主键
  21. */
  22. public void setId(Integer id) {
  23. this.id = id;
  24. }
  25. /**
  26. * 获取:主键
  27. */
  28. public Integer getId() {
  29. return id;
  30. }
  31. /**
  32. * 设置:优惠券Id
  33. */
  34. public void setCouponId(Integer couponId) {
  35. this.couponId = couponId;
  36. }
  37. /**
  38. * 获取:优惠券Id
  39. */
  40. public Integer getCouponId() {
  41. return couponId;
  42. }
  43. /**
  44. * 设置:商品id
  45. */
  46. public void setGoodsId(Integer goodsId) {
  47. this.goodsId = goodsId;
  48. }
  49. /**
  50. * 获取:商品id
  51. */
  52. public Integer getGoodsId() {
  53. return goodsId;
  54. }
  55. }