ldc-boutique-cnc-sable/app/Models/ShopPickupExceptionPivot.php

28 lines
563 B
PHP
Raw Permalink Normal View History

2026-06-14 21:32:07 +02:00
<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Relations\Pivot;
/**
* @property int $shop_id
* @property int $pickup_exception_id
* @property \Illuminate\Support\Carbon|null $replacement_date
* @property \Illuminate\Support\Carbon|null $order_deadline_at
*
* @mixin \Eloquent
*/
class ShopPickupExceptionPivot extends Pivot
{
#[\Override]
protected function casts(): array
{
return [
'replacement_date' => 'date',
'order_deadline_at' => 'datetime',
];
}
}