<?php

namespace App\Models;

use App\Models\Scopes\ModelScopes;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Notification extends Model
{
    use ModelScopes;
    use HasFactory;

    protected $table = 'notifications';

    protected $casts = [
        'created_at' => 'datetime:M d, Y h:m a',
    ];

    protected $fillable = [
        'user_id',
        'comment',
        'title',
        'notification',
        'link',
        'is_notified',
        'status',
    ];

}
