{ "name": "WorkCenter", "base": "VnModel", "options": { "mysql": { "table": "workCenter" } }, "properties": { "id": { "id": true, "type": "Number" }, "name": { "type": "String" } }, "relations": { "warehouse": { "type": "belongsTo", "model": "Warehouse", "foreignKey": "warehouseFk" }, "holidays": { "type": "hasMany", "model": "Holiday", "foreignKey": "workCenterFk" } }, "acls": [{ "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" }] }