{ "name": "Parking", "base": "VnModel", "options": { "mysql": { "table": "parking" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "column": { "type": "string", "required": true }, "row": { "type": "string", "required": true }, "code": { "type": "string" }, "pickingOrder": { "type": "number" } }, "relations": { "saleGroup": { "type": "hasMany", "model": "saleGroup", "foreignKey": "parkingFk" }, "sector": { "type": "belongsTo", "model": "Sector", "foreignKey": "sectorFk" } } }