猫妈狗爸伴宠师小程序后端代码
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.

69 lines
1.4 KiB

3 months ago
  1. package com.ruoyi.model.domain;
  2. import io.swagger.annotations.ApiModel;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.ruoyi.common.annotation.Excel;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * 游客对象 app_tourist
  10. *
  11. * @author ruoyi
  12. * @date 2025-03-06
  13. */
  14. @ApiModel("游客")
  15. public class AppTourist extends BaseEntity
  16. {
  17. private static final long serialVersionUID = 1L;
  18. @ApiModelProperty("编号")
  19. /** $column.columnComment */
  20. private Long id;
  21. /** 游客昵称为未登录 */
  22. @Excel(name = "游客昵称为未登录")
  23. private String name;
  24. /** 默认小程序logo */
  25. @Excel(name = "默认小程序logo")
  26. private String icon;
  27. public void setId(Long id)
  28. {
  29. this.id = id;
  30. }
  31. public Long getId()
  32. {
  33. return id;
  34. }
  35. public void setName(String name)
  36. {
  37. this.name = name;
  38. }
  39. public String getName()
  40. {
  41. return name;
  42. }
  43. public void setIcon(String icon)
  44. {
  45. this.icon = icon;
  46. }
  47. public String getIcon()
  48. {
  49. return icon;
  50. }
  51. @Override
  52. public String toString() {
  53. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  54. .append("id", getId())
  55. .append("name", getName())
  56. .append("icon", getIcon())
  57. .toString();
  58. }
  59. }