1
0

RelatedGoodsEntity.java 953 B

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