<?php
namespace Modules\NsGastro\Events;

use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Modules\NsGastro\Models\Table;

class TableAvailabilityChangedEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public function __construct( public Table $table, public $previous,public $new )
    {
        // ...
    }
}