{ "name": "TaxClassCode", "base": "VnModel", "options": { "mysql": { "table": "taxClassCode" } }, "properties": { "taxClassFk": { "type": "number", "required": true, "id": 1 }, "taxCodeFk": { "type": "number", "required": true, "id": 2 }, "effectived": { "type": "date", "required": true, "id": 3 } }, "relations": { "taxClass": { "type": "belongsTo", "model": "TaxClass", "foreignKey": "taxClassFk" }, "taxCode": { "type": "belongsTo", "model": "TaxCode", "foreignKey": "taxCodeFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }