{ "name": "SupplierContact", "base": "VnModel", "mixins": { "Loggable": true }, "options": { "mysql": { "table": "supplierContact" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "supplierFk": { "type": "string" }, "phone": { "type": "string" }, "mobile": { "type": "string" }, "email": { "type": "string" }, "observation": { "type": "string" }, "name": { "type": "string" } }, "relations": { "supplier": { "type": "belongsTo", "model": "Supplier", "foreignKey": "supplierFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }