package com.zhentao.entity; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.time.LocalDateTime; /** * 底部导航栏配置实体 */ @Data @TableName("tabbar_config") public class TabbarConfig { @TableId(type = IdType.AUTO) private Long id; /** * 导航项名称 */ private String name; /** * 图标(emoji或图片URL) */ private String icon; /** * 选中状态图标 */ private String iconSelected; /** * 跳转路径 */ private String path; /** * 导航项标识 */ private String tabKey; /** * 排序顺序 */ private Integer sortOrder; /** * 是否启用 */ private Boolean isEnabled; /** * 角标类型:none-无,dot-红点,number-数字 */ private String badgeType; /** * 角标数据key */ private String badgeKey; /** * 客户端类型:user-用户端,matchmaker-红娘端 */ private String clientType; @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; }