当前位置:网站首页>Live classroom system 03 supplement model class and entity
Live classroom system 03 supplement model class and entity
2022-07-23 14:53:00 【z754916067】
Catalog
General structure

vod
vod It's the live broadcast section , skip .
@Data
@ApiModel(description = "Subject")
@TableName("subject")
public class Subject {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = " Creation time ")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("create_time")
private Date createTime;
@ApiModelProperty(value = " Update time ")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("update_time")
private Date updateTime;
@ApiModelProperty(value = " Logical deletion (1: deleted ,0: Not delete )")
@JsonIgnore
@TableLogic
@TableField("is_deleted")
private Integer isDeleted;
@ApiModelProperty(value = " The other parameters ")
@TableField(exist = false)
private Map<String,Object> param = new HashMap<>();
@ApiModelProperty(value = " Category name ")
@TableField("title")
private String title;
@ApiModelProperty(value = " Father ID")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = " Sort field ")
@TableField("sort")
private Integer sort;
@ApiModelProperty(value = " Whether to include child nodes ")
@TableField(exist = false)
private boolean hasChildren;
}
ditto .
@Data
@ApiModel(description = " menu ")
@TableName("menu")
public class Menu extends BaseEntity {
@ApiModelProperty(value = "id")
@TableField("parent_id")
private Long parentId;
@ApiModelProperty(value = " name ")
private String name;
@ApiModelProperty(value = " type ")
private String type;
@ApiModelProperty(value = " Webpage link , Users can click the menu to open the link ")
private String url;
@ApiModelProperty(value = " menu KEY value , For message interface push ")
@TableField("meun_key")
private String meunKey;
@ApiModelProperty(value = " Sort ")
private Integer sort;
}
vo
there vo It refers to the content of the background management live broadcast section , But most of them inherited BaseEntity. This uses part of the following config The content such as , So now it is in the state of red error , Put it here first . And there's a little bit in it mapper Content … I will talk about it at approriate time .

边栏推荐
- LeetCode-227-基本计算器||
- 【我可以做你的第一个项目吗?】GZIP的细节简介和模拟实现
- [paper notes] mobile robot navigation method based on hierarchical depth reinforcement learning
- Towhee weekly model
- mysql唯一索引无重复值报错重复
- 数字相加的精度问题
- Canvas from getting started to persuading friends to give up (graphic version)
- 正则表达式常用语法解析
- C语言项目实战:24点游戏计算器(基于结构体、指针、函数、数组、循环等知识点)
- Official wechat product! Applet automation framework minium sharing Preview
猜你喜欢

Authing supports Zadig! Unified authentication and rapid docking of cloud native users

First acquaintance and search set
![[interview frequency] cookies, sessions, tokens? Don't worry about being asked after reading it](/img/c0/46f2a99ef2ed0b5d4d5c77a143b160.png)
[interview frequency] cookies, sessions, tokens? Don't worry about being asked after reading it

【测试平台开发】十七、接口编辑页面实现下拉级联选择,绑定接口所属模块...

【无标题】

Canvas from getting started to persuading friends to give up (graphic version)

@Feignclient detailed tutorial (illustration)
![[C language] number guessing game + shutdown applet](/img/2f/643ec964dba7643f91b1bd679a9284.png)
[C language] number guessing game + shutdown applet

微信官方出品!小程序自动化框架 minium 分享预告

OpenHarmony南向学习笔记——Hi3861+HC-SR04超声波检测
随机推荐
Dynamic programming -- knapsack problem
C语言项目实战:24点游戏计算器(基于结构体、指针、函数、数组、循环等知识点)
[test platform development] 23. interface assertion function - save interface assertion and edit echo
[software test] MQ abnormal test encountered in disk-to-disk work
Qt| imitation text floating letter
FastAPI应用加入Nacos
mysql函数汇总之字符串函数
It is suggested that Siyuan notes can be compatible with third-party sync disks
Detailed tutorial of typora drawing bed configuration
Jetpack系列之Room中存Map结构
【C語言】猜數字小遊戲+關機小程序
mysql唯一索引无重复值报错重复
First acquaintance and search set
104 maximum depth of binary tree and 543 diameter of binary tree and 124 maximum path sum of binary tree
Several hole filling methods of point cloud (mesh) (1)
Regular expression common syntax parsing
Uni app knowledge points and records of problems and solutions encountered in the project
身份证号正则验证
[C language] number guessing game + shutdown applet
云呐|怎样管理固定资产?如何进行固定资产管理?