diff --git a/modules/shelving/back/models/parking.json b/modules/shelving/back/models/parking.json index bb1e02607..53fec6e69 100644 --- a/modules/shelving/back/models/parking.json +++ b/modules/shelving/back/models/parking.json @@ -32,7 +32,7 @@ }, "relations": { "saleGroup": { - "type": "hasOne", + "type": "hasMany", "model": "saleGroup", "foreignKey": "parkingFk" } diff --git a/modules/ticket/back/models/saleGroup.json b/modules/ticket/back/models/saleGroup.json index dd34e450b..d5cf82cb5 100644 --- a/modules/ticket/back/models/saleGroup.json +++ b/modules/ticket/back/models/saleGroup.json @@ -18,7 +18,7 @@ }, "relations": { "saleGroupDetail": { - "type": "hasOne", + "type": "hasMany", "model": "SaleGroupDetail", "foreignKey": "saleGroupFk" },