salix/services/client/common/models/sample.json

39 lines
743 B
JSON

{
"name": "Sample",
"base": "VnModel",
"options": {
"mysql": {
"table": "sample"
}
},
"properties": {
"id": {
"id": true,
"type": "Number",
"description": "Identifier"
},
"code": {
"type": "String"
},
"description": {
"type": "String"
},
"isVisible": {
"type": "Number"
},
"hasCompany": {
"type": "Number"
}
},
"scope": {
"where": {"isVisible": 1}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}