1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

Temp commit on 2023-05-01 5:00

This commit is contained in:
cccccyb
2023-05-01 05:01:54 +08:00
parent cdf47bc0bb
commit e8bc1f5945
11 changed files with 133 additions and 90 deletions

View File

@@ -45,17 +45,29 @@ public class Notice implements Serializable {
private String content;
/**
* 公告类型
* 公告类型Id
*/
@TableField("type_id")
private Long typeId;
/**
* 公告类型
*/
@TableField(exist = false)
private NoticeType noticeType;
/**
* 发布者id
*/
@TableField("sender_id")
private Long senderId;
/**
* 发布者
*/
@TableField(exist = false)
private User sender;
/**
* 创建时间
*/
@@ -104,12 +116,6 @@ public class Notice implements Serializable {
@TableField("old")
private Integer old;
/**
* 发布者
*/
@TableField(exist = false)
private User sender;
@TableField("deleted")
@TableLogic
private Integer deleted;

View File

@@ -32,17 +32,29 @@ public class NoticeReceive implements Serializable {
private Long id;
/**
* 用户
* 用户Id
*/
@TableField("user_id")
private Long userId;
/**
* 公告
* 用户
*/
@TableField(exist = false)
private User user;
/**
* 公告Id
*/
@TableField("notice_id")
private Long noticeId;
/**
* 公告
*/
@TableField(exist = false)
private Notice notice;
/**
* 已读
*/