<?php

namespace App\Models;

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

class CtsSyncLog extends Model
{
    use HasFactory;

    protected $table = 'cts_sync_log';

    protected $fillable = [
        'synced_at',
        'events_count',
        'songs_count',
        'status',
        'error',
    ];

    protected function casts(): array
    {
        return [
            'synced_at' => 'datetime',
        ];
    }
}
