TabbarConfig.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package com.zhentao.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import lombok.Data;
  4. import java.time.LocalDateTime;
  5. /**
  6. * 底部导航栏配置实体
  7. */
  8. @Data
  9. @TableName("tabbar_config")
  10. public class TabbarConfig {
  11. @TableId(type = IdType.AUTO)
  12. private Long id;
  13. /**
  14. * 导航项名称
  15. */
  16. private String name;
  17. /**
  18. * 图标(emoji或图片URL)
  19. */
  20. private String icon;
  21. /**
  22. * 选中状态图标
  23. */
  24. private String iconSelected;
  25. /**
  26. * 跳转路径
  27. */
  28. private String path;
  29. /**
  30. * 导航项标识
  31. */
  32. private String tabKey;
  33. /**
  34. * 排序顺序
  35. */
  36. private Integer sortOrder;
  37. /**
  38. * 是否启用
  39. */
  40. private Boolean isEnabled;
  41. /**
  42. * 角标类型:none-无,dot-红点,number-数字
  43. */
  44. private String badgeType;
  45. /**
  46. * 角标数据key
  47. */
  48. private String badgeKey;
  49. /**
  50. * 客户端类型:user-用户端,matchmaker-红娘端
  51. */
  52. private String clientType;
  53. @TableField(fill = FieldFill.INSERT)
  54. private LocalDateTime createTime;
  55. @TableField(fill = FieldFill.INSERT_UPDATE)
  56. private LocalDateTime updateTime;
  57. }