<?php
namespace App\Models;

class NotificationModel extends BaseModel
{
    protected $table = 'auth_notification';
    protected $primaryKey = 'id_notification';
    protected $allowedFields = [
        'user_sender',
        'user_recipient',
        'title',
        'body',
        'is_read',
        'is_send_email',
        'send_email_notification',
        'token'
    ];
    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}