当前位置:网站首页>直播课堂系统03补充-model类及实体
直播课堂系统03补充-model类及实体
2022-07-23 09:25:00 【z754916067】
总结构

vod
vod就是直播板块,跳过。
@Data
@ApiModel(description = "Subject")
@TableName("subject")
public class Subject {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("create_time")
private Date createTime;
@ApiModelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("update_time")
private Date updateTime;
@ApiModelProperty(value = "逻辑删除(1:已删除,0:未删除)")
@JsonIgnore
@TableLogic
@TableField("is_deleted")
private Integer isDeleted;
@ApiModelProperty(value = "其他参数")
@TableField(exist = false)
private Map<String,Object> param = new HashMap<>();
@ApiModelProperty(value = "类别名称")
@TableField("title")
private String title;
@ApiModelProperty(value = "父ID")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = "排序字段")
@TableField("sort")
private Integer sort;
@ApiModelProperty(value = "是否包含子节点")
@TableField(exist = false)
private boolean hasChildren;
}
同上。
@Data
@ApiModel(description = "菜单")
@TableName("menu")
public class Menu extends BaseEntity {
@ApiModelProperty(value = "id")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "类型")
private String type;
@ApiModelProperty(value = "网页 链接,用户点击菜单可打开链接")
private String url;
@ApiModelProperty(value = "菜单KEY值,用于消息接口推送")
@TableField("meun_key")
private String meunKey;
@ApiModelProperty(value = "排序")
private Integer sort;
}
vo
这里的vo指的应该是后台管理直播板块的内容, 但大部分继承的还是BaseEntity。这个里面用到了一部分后面的config等内容,所以现在是红色报错的状态,先放在这里吧。而且里面还放着一点mapper内容…到时候再说吧。

边栏推荐
- C language implements StrCmp, strstr, strcat, strcpy
- The win11 installation system prompts that VirtualBox is incompatible and needs to uninstall the solution of virtual, but the uninstall list cannot find the solution of virtual
- Wacom firmware update error 123, digital board driver cannot be updated
- 反射调用事务方法导致事务失效
- [applet automation minium] i. framework introduction and environment construction
- C语言项目实战:24点游戏计算器(基于结构体、指针、函数、数组、循环等知识点)
- First acquaintance and search set
- 【附下载】值得收藏的几款渗透测试常用的脚本
- [can I do your first project?] Detailed introduction and Simulation Implementation of gzip
- 在使用 VScode 进行代码格式化后,保存发现代码又变乱了,怎么办?vs去掉格式化
猜你喜欢
![[C language] number guessing game + shutdown applet](/img/2f/643ec964dba7643f91b1bd679a9284.png)
[C language] number guessing game + shutdown applet

工作小记:一次抓包

在使用 VScode 进行代码格式化后,保存发现代码又变乱了,怎么办?vs去掉格式化

Okrk3399 Development Board reserves i2c4 to mount EEPROM

After using vscode to format the code, save and find that the code is messy again. What should I do? Vs remove formatting

【C语言】猜数字小游戏+关机小程序

koa框架的使用

基于EFR32MG24的AI 加速度姿势识别体验

正则表达式常用语法解析

PKI体系快速介绍
随机推荐
手工测试如何转向自动化测试?字节5年自动化经验浅谈一下...
It is suggested that Siyuan notes can be compatible with third-party sync disks
Okrk3399 Development Board reserves i2c4 to mount EEPROM
Dynamic programming -- knapsack problem
Some libraries that can perform 2D or 3D triangulation
C language implementation of classroom random roll call system
优化华为云服务器采用Key登陆
Yunna | how to manage the fixed assets of the company? How to manage the company's fixed assets better?
运维高级作业03
Quick introduction to PKI system
Due to resource constraints, the namenode fails to start with an error unable to create new native thread
Flat style feedback form page
js日历样式饼图统计插件
Ffmpeg 2 - use of ffplay, ffprobe, ffmpeg commands
【我可以做你的第一个项目吗?】GZIP的细节简介和模拟实现
ValidationError: Invalid options object. Dev Server has been initialized using an options object th
Chapter 3 complex query
Quanzhi f1c100s/f1c200s learning notes (13) -- lvgl transplantation
Sword finger offer 46. translate numbers into strings
基金开户网上办理是否安全?谁给解答一下