2018-07-25 18:47:07 +00:00
|
|
|
{
|
2018-07-27 09:18:27 +00:00
|
|
|
"name": "Sample",
|
2018-07-25 18:47:07 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-07-27 09:18:27 +00:00
|
|
|
"table": "sample"
|
2018-07-25 18:47:07 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"isVisible": {
|
|
|
|
"type": "Number"
|
2018-07-31 09:08:22 +00:00
|
|
|
},
|
|
|
|
"hasCompany": {
|
|
|
|
"type": "Number"
|
2018-07-25 18:47:07 +00:00
|
|
|
}
|
|
|
|
},
|
2018-07-31 09:08:22 +00:00
|
|
|
"scope": {
|
|
|
|
"where": {"isVisible": 1}
|
|
|
|
},
|
2018-07-25 18:47:07 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|