1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 06:51:23 +08:00

Added table field enable into t_user

This commit is contained in:
2023-05-02 23:31:14 +08:00
parent f060da2752
commit e884568bf7
2 changed files with 15 additions and 8 deletions

View File

@@ -49,6 +49,12 @@ public class User implements Serializable {
@TableField("department_id")
private Long departmentId;
/**
* 启用
*/
@TableField("enable")
private Integer enable;
@TableField("deleted")
@TableLogic
private Integer deleted;

View File

@@ -113,6 +113,7 @@ create table `t_user`
`username` varchar(20) not null comment '用户名',
`passwd` char(70) not null comment '密码',
`department_id` bigint null comment '部门',
`enable` int not null comment '启用',
`deleted` int not null default 0,
`version` int not null default 0,
constraint t_user_department_id_fk foreign key (department_id) references t_department (id)