salix/modules/client/back/models/sample.json

44 lines
857 B
JSON
Raw Normal View History

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": {
2019-03-01 06:27:29 +00:00
"mysql": {
"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": {
2019-03-01 06:27:29 +00:00
"type": "Boolean"
2018-07-31 09:08:22 +00:00
},
"hasCompany": {
"type": "Boolean"
},
"hasPreview": {
"type": "Boolean"
2018-07-25 18:47:07 +00:00
}
},
2019-03-01 06:27:29 +00:00
"scopes": {
"visible": {
"where": {"isVisible": true}
}
2018-07-31 09:08:22 +00:00
},
2018-07-25 18:47:07 +00:00
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}