mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-04 22:41:24 +08:00
Rename t_notice_receive table field read to already_read
This commit is contained in:
@@ -46,8 +46,8 @@ public class NoticeReceive implements Serializable {
|
||||
/**
|
||||
* 已读
|
||||
*/
|
||||
@TableField("read")
|
||||
private Integer read;
|
||||
@TableField("already_read")
|
||||
private Integer alreadyRead;
|
||||
|
||||
@TableField("deleted")
|
||||
@TableLogic
|
||||
|
||||
@@ -242,7 +242,7 @@ create table `t_notice_receive`
|
||||
`id` bigint not null primary key,
|
||||
`user_id` bigint not null comment '用户',
|
||||
`notice_id` bigint not null comment '公告',
|
||||
`read` int not null default 0 comment '已读',
|
||||
`already_read` int not null default 0 comment '已读',
|
||||
`deleted` int not null default 0,
|
||||
`version` int not null default 0,
|
||||
constraint t_notice_receive_user_id_fk foreign key (user_id) references t_user (id),
|
||||
|
||||
Reference in New Issue
Block a user