<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AskAnything extends Model
{
    protected $table = 'ask_anything';

    public $timestamps = false;

    protected $fillable = [
        'name',
        'email',
        'phone',
        'question',
        'answer',
        'created_at',
    ];

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