猫妈狗爸伴宠师小程序后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.5 KiB

1 year ago
  1. package com.ruoyi.catdog.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. * 数据描述配置对象 descriptives_config
  8. *
  9. * @author ruoyi
  10. * @date 2025-03-02
  11. */
  12. public class DescriptivesConfig extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** 主键 */
  16. private Long id;
  17. /** 文本优先级 */
  18. @Excel(name = "文本优先级")
  19. private Long descriptivesPriority;
  20. /** 数据描述文本 */
  21. @Excel(name = "数据描述文本")
  22. private String descriptivesText;
  23. public void setId(Long id)
  24. {
  25. this.id = id;
  26. }
  27. public Long getId()
  28. {
  29. return id;
  30. }
  31. public void setDescriptivesPriority(Long descriptivesPriority)
  32. {
  33. this.descriptivesPriority = descriptivesPriority;
  34. }
  35. public Long getDescriptivesPriority()
  36. {
  37. return descriptivesPriority;
  38. }
  39. public void setDescriptivesText(String descriptivesText)
  40. {
  41. this.descriptivesText = descriptivesText;
  42. }
  43. public String getDescriptivesText()
  44. {
  45. return descriptivesText;
  46. }
  47. @Override
  48. public String toString() {
  49. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  50. .append("id", getId())
  51. .append("descriptivesPriority", getDescriptivesPriority())
  52. .append("descriptivesText", getDescriptivesText())
  53. .toString();
  54. }
  55. }