<?php

namespace App\Models\Polymorphs;

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

class Notification extends Model{
    use HasFactory;

    const TABLE_NAME = "notifications";
    protected $table = self::TABLE_NAME;
    protected $guarded = ['id','created_at'];

    protected $casts = [
       'data' => "array" ,
    ];
}
