{ "name": "ComponentRate", "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": "ComponentTypeRate", "foreignKey": "typeFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }