<?php

namespace App\Models;

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

class AdReport extends Model
{
    use HasFactory;

    protected $table = 'ad_reports';

    protected $fillable = [
        'service_id',
        'email',
        'message',
        'images',
    ];

    // Cast images as array automatically
    protected $casts = [
        'images' => 'array',
    ];
}
