<?php

namespace App\Models;

use App\Models\Concerns\HasTranslations;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Client extends Model
{
    use HasFactory;
    use HasTranslations;

    protected $fillable = [
        'name',
        'company',
        'logo_path',
        'quote',
        'role',
        'website',
        'sort_order',
        'is_active',
    ];

    protected function casts(): array
    {
        return [
            'company' => 'array',
            'quote' => 'array',
            'role' => 'array',
            'is_active' => 'boolean',
        ];
    }
}