目录
- 总结构
-
- vod
- vo
总结构
文章图片
vod vod就是直播板块,跳过。
@Data
@ApiModel(description = "Subject")
@TableName("subject")
public class Subject { private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "https://www.it610.com/article/id")
private Long id;
@ApiModelProperty(value = "https://www.it610.com/article/创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("create_time")
private Date createTime;
@ApiModelProperty(value = "https://www.it610.com/article/更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("update_time")
private Date updateTime;
@ApiModelProperty(value = "https://www.it610.com/article/逻辑删除(1:已删除,0:未删除)")
@JsonIgnore
@TableLogic
@TableField("is_deleted")
private Integer isDeleted;
@ApiModelProperty(value = "https://www.it610.com/article/其他参数")
@TableField(exist = false)
private Map param = new HashMap<>();
@ApiModelProperty(value = "https://www.it610.com/article/类别名称")
@TableField("title")
private String title;
@ApiModelProperty(value = "https://www.it610.com/article/父ID")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = "https://www.it610.com/article/排序字段")
@TableField("sort")
private Integer sort;
@ApiModelProperty(value = "https://www.it610.com/article/是否包含子节点")
@TableField(exist = false)
private boolean hasChildren;
}
wechat 同上。
@Data
@ApiModel(description = "菜单")
@TableName("menu")
public class Menu extends BaseEntity {@ApiModelProperty(value = "https://www.it610.com/article/id")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = "https://www.it610.com/article/名称")
private String name;
@ApiModelProperty(value = "https://www.it610.com/article/类型")
private String type;
@ApiModelProperty(value = "https://www.it610.com/article/网页 链接,用户点击菜单可打开链接")
private String url;
@ApiModelProperty(value = "https://www.it610.com/article/菜单KEY值,用于消息接口推送")
@TableField("meun_key")
private String meunKey;
@ApiModelProperty(value = "https://www.it610.com/article/排序")
private Integer sort;
}
vo 【Java|直播课堂系统03补充-model类及实体】这里的vo指的应该是后台管理直播板块的内容, 但大部分继承的还是BaseEntity。这个里面用到了一部分后面的config等内容,所以现在是红色报错的状态,先放在这里吧。而且里面还放着一点mapper内容…到时候再说吧。
文章图片
推荐阅读
- Java|直播课堂系统03-model类及实体
- Java|直播课堂系统02-搭建项目环境
- spring|springboot-自动装配原理
- c语言|C语言制作小游戏——贪吃蛇
- Python|Python标准库
- python|【python开发】1. __init__.py与导包
- 基础理论|长长见识,编程语言大赏
- Java基础|Spring Boot 配置文件加载顺序
- Java|MyBatis-Plus联表查询(Mybatis-Plus-Join)