{ "name": "Entry", "base": "VnModel", "options": { "mysql": { "table": "entry" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "dated": { "type": "date" }, "ref": { "type": "String" }, "isBooked": { "type": "Boolean" }, "isInventory": { "type": "Boolean" }, "notes": { "type": "Number" }, "isConfirmed": { "type": "Boolean" }, "isVirtual": { "type": "Boolean", "mysql": { "columnName": "isRaid" } }, "commission": { "type": "Number" }, "created": { "type": "date" }, "evaNotes": { "type": "String", "mysql": { "columnName": "observation" } }, "isBlocked": { "type": "Boolean" }, "loadPriority": { "type": "Number" } }, "relations": { "supplier": { "type": "belongsTo", "model": "Supplier", "foreignKey": "supplierFk" }, "travel": { "type": "belongsTo", "model": "Travel", "foreignKey": "travelFk" }, "company": { "type": "belongsTo", "model": "Company", "foreignKey": "companyFk" } } }