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:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user