{ "name": "Buy", "base": "PersistedModel", "options": { "mysql": { "table": "buy" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "itemFk": { "type": "Number", "required": true }, "price3": { "type": "Number", "required": true } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "itemFk" } } }