<?php

namespace App\Models;

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

class Blog extends Model
{
    use HasFactory;

    protected $fillable = [
        'title',
        'category_id',
        'thumbnail',
        'meta_data',
        'description',
        'publish_date'
    ];

    protected $casts = [
        'meta_data' => 'object',
    ];
}
