up
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
module.exports = {
|
||||
doc : "数据权限表(只在默认api生效)",
|
||||
model: {
|
||||
code : {type: "STRING", comment: '角色代码'},
|
||||
table: {type: "STRING", comment: '表名'},
|
||||
key : {type: "STRING", comment: '表字段'},
|
||||
crud: {
|
||||
type : "ENUM", comment: 'crud权限',
|
||||
values: [
|
||||
"C", // 创建
|
||||
"R", // 读取
|
||||
"U", // 更新
|
||||
"D", // 删除
|
||||
]
|
||||
},
|
||||
value: {
|
||||
type : "ENUM", comment: '状态',
|
||||
values: [
|
||||
0, // 禁止
|
||||
1, //通行
|
||||
],
|
||||
defaultValue: 0,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user