<?php

namespace App\Models\Website;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class SiteRespondIoEventLogChannel extends Model
{
    use HasFactory;

    protected $table = 'site_respond_io_event_log_channels';

    protected $fillable = [
        'event_log_id',
        'name',
        'source',
        'meta',
        'created_at_timestamp',
        'last_message_time',
        'last_incoming_message_time',
    ];

    protected $casts = [
        'created_at_timestamp' => 'datetime',
        'last_message_time' => 'datetime',
        'last_incoming_message_time' => 'datetime',
        'meta' => 'array',
    ];
}
