<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ShopifyImportLog extends Model
{
    protected $fillable = [
        'type', 'status', 'records_imported', 'records_skipped', 'errors',
    ];

    protected function casts(): array
    {
        return [
            'records_imported' => 'integer',
            'records_skipped' => 'integer',
            'errors' => 'array',
        ];
    }
}
