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

47 lines
929 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",
2018-07-25 18:47:07 +00:00
"description": "Identifier"
},
"code": {
"type": "string"
2018-07-25 18:47:07 +00:00
},
"description": {
"type": "string"
2018-07-25 18:47:07 +00:00
},
"isVisible": {
"type": "boolean"
2018-07-31 09:08:22 +00:00
},
"hasCompany": {
"type": "boolean"
},
"hasPreview": {
"type": "boolean"
},
"datepickerEnabled": {
"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"
}
]
}