SysXPrizes.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. package com.ruoyi.system.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 奖品池对象 sys_x_prizes
  8. *
  9. * @author ruoyi
  10. * @date 2025-07-19
  11. */
  12. public class SysXPrizes extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** id */
  16. private Long id;
  17. /** 奖品名称 */
  18. @Excel(name = "奖品名称")
  19. private String name;
  20. /** 稀有度 */
  21. @Excel(name = "稀有度")
  22. private String quality;
  23. /** 背景颜色 */
  24. @Excel(name = "背景颜色")
  25. private String bgColor;
  26. /** 字体颜色 */
  27. @Excel(name = "字体颜色")
  28. private String textColor;
  29. /** 描述 */
  30. @Excel(name = "描述")
  31. private String fullDescription;
  32. /** 关联卡池id */
  33. @Excel(name = "关联卡池id")
  34. private Long poolId;
  35. public void setId(Long id)
  36. {
  37. this.id = id;
  38. }
  39. public Long getId()
  40. {
  41. return id;
  42. }
  43. public void setName(String name)
  44. {
  45. this.name = name;
  46. }
  47. public String getName()
  48. {
  49. return name;
  50. }
  51. public void setQuality(String quality)
  52. {
  53. this.quality = quality;
  54. }
  55. public String getQuality()
  56. {
  57. return quality;
  58. }
  59. public void setBgColor(String bgColor)
  60. {
  61. this.bgColor = bgColor;
  62. }
  63. public String getBgColor()
  64. {
  65. return bgColor;
  66. }
  67. public void setTextColor(String textColor)
  68. {
  69. this.textColor = textColor;
  70. }
  71. public String getTextColor()
  72. {
  73. return textColor;
  74. }
  75. public void setFullDescription(String fullDescription)
  76. {
  77. this.fullDescription = fullDescription;
  78. }
  79. public String getFullDescription()
  80. {
  81. return fullDescription;
  82. }
  83. public void setPoolId(Long poolId)
  84. {
  85. this.poolId = poolId;
  86. }
  87. public Long getPoolId()
  88. {
  89. return poolId;
  90. }
  91. @Override
  92. public String toString() {
  93. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  94. .append("id", getId())
  95. .append("name", getName())
  96. .append("quality", getQuality())
  97. .append("bgColor", getBgColor())
  98. .append("textColor", getTextColor())
  99. .append("fullDescription", getFullDescription())
  100. .append("poolId", getPoolId())
  101. .toString();
  102. }
  103. }