{ "name": "ClaimState", "base": "VnModel", "mixins": { "Loggable": true }, "options": { "mysql": { "table": "claimState" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "code": { "type": "string", "required": true }, "description": { "type": "string", "required": true }, "priority": { "type": "number", "required": true }, "hasToNotify": { "type": "boolean", "required": true } }, "relations": { "writeRole": { "type": "belongsTo", "model": "VnRole", "foreignKey": "roleFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }