Feat: Make some entities soft-deletable

This commit is contained in:
Björn Fromme
2023-10-20 17:17:21 +02:00
parent 168a69c103
commit d7bbb4bb29
27 changed files with 213 additions and 63 deletions
+2
View File
@@ -94,6 +94,7 @@ class BpnImportCommand extends Command
'product' => $product,
'pickups' => json_encode($datePickups),
'country' => $hotel->getCountry(),
'updated_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s')
], [
'id' => $id,
'hotel_bus_pro_id' => $hotelBusProId,
@@ -114,6 +115,7 @@ class BpnImportCommand extends Command
'hotel_bus_pro_id' => $hotelBusProId,
'pickups' => json_encode($datePickups),
'country' => $hotel->getCountry(),
'created_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s')
])
;
++$addedCount;