mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 06:51:23 +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")
|
@TableField("already_read")
|
||||||
private Integer read;
|
private Integer alreadyRead;
|
||||||
|
|
||||||
@TableField("deleted")
|
@TableField("deleted")
|
||||||
@TableLogic
|
@TableLogic
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ create table `t_notice_receive`
|
|||||||
`id` bigint not null primary key,
|
`id` bigint not null primary key,
|
||||||
`user_id` bigint not null comment '用户',
|
`user_id` bigint not null comment '用户',
|
||||||
`notice_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,
|
`deleted` int not null default 0,
|
||||||
`version` 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),
|
constraint t_notice_receive_user_id_fk foreign key (user_id) references t_user (id),
|
||||||
|
|||||||
Reference in New Issue
Block a user