{ "name": "SaleGroup", "base": "VnModel", "options": { "mysql": { "table": "saleGroup" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "parkingFk": { "type": "number" } }, "relations": { "saleGroupDetail": { "type": "hasOne", "model": "SaleGroupDetail", "foreignKey": "saleGroupFk" }, "parking": { "type": "belongsTo", "model": "Parking", "foreignKey": "parkingFk" } } }