2019-04-25 16:30:11 +00:00
|
|
|
{
|
|
|
|
"name": "DmsType",
|
|
|
|
"description": "Documental Managment system types",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "dmsType"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-04-25 16:30:11 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"path": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
2019-05-28 09:26:54 +00:00
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
2019-04-25 16:30:11 +00:00
|
|
|
}
|
|
|
|
},
|
2019-05-01 16:49:39 +00:00
|
|
|
"relations": {
|
|
|
|
"readRole": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "readRoleFk"
|
|
|
|
},
|
|
|
|
"writeRole": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "writeRoleFk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [{
|
2019-04-25 16:30:11 +00:00
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
2019-05-01 16:49:39 +00:00
|
|
|
}]
|
2019-04-25 16:30:11 +00:00
|
|
|
}
|