{ "name": "Component", "base": "VnModel", "options": { "mysql": { "table": "component" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "name": { "type": "string" }, "classRate": { "type": "number" }, "tax": { "type": "number" }, "isRenewable": { "type": "number" }, "typeFk": { "type": "number" }, "code": { "type": "string" } }, "relations": { "componentType": { "type": "belongsTo", "model": "ComponentType", "foreignKey": "typeFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }