<?php

namespace App\Models\Admin;

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

class Testimonials extends Model
{
    use HasFactory;

    protected $table = 'testimonials';

    protected $fillable = [
        'position_order',
        'rating_quantity',
        'client_name',
        'description',
        'client_image',
        'client_designation',
        'client_city',
        'review_date',
        'status'
    ];

    protected $casts = [
        'id' => 'integer',
        'position_order' => 'integer',
        'rating_quantity' => 'integer',
        'client_name' => 'string',
        'description' => 'string',
        'client_image' => 'string',
        'client_designation' => 'string',
        'client_city' => 'string',
        'review_date' => 'date',
        'status' => 'string',
    ];
}
