{ "name": "SaleTracking", "base": "VnModel", "options": { "mysql": { "table": "saleTracking" } }, "properties": { "id": { "id": true, "type": "number", "forceId": false }, "saleFk": { "type": "number" }, "stateFk": { "type": "number" }, "isChecked": { "type": "boolean" }, "created": { "type": "Date" }, "originalQuantity": { "type": "number" } }, "relations": { "sale": { "type": "belongsTo", "model": "Sale", "foreignKey": "saleFk" }, "worker": { "type": "belongsTo", "model": "Worker", "foreignKey": "workerFk" } } }