初始化
This commit is contained in:
@@ -2,12 +2,10 @@ module.exports = {
|
||||
doc: "用户表",
|
||||
api: true,//是否需要生成api接口
|
||||
model: {
|
||||
uid: {type: "STRING", comment: '用户id'},
|
||||
uid: {type: "INTEGER", comment: '用户id', primaryKey: true},
|
||||
account: {type: "STRING", comment: '用户账号'},
|
||||
password: {type: "STRING", comment: '用户加密密码'},
|
||||
salt: {type: "STRING", comment: '用户加密随机数'},
|
||||
to_oid: {type: "STRING", comment: '所属组织id'},
|
||||
to_rid: {type: "STRING", comment: '所属角色id'},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user