<?php
/**
* NotificationLog.php - Model file
*
* This file is part of the User component.
*-----------------------------------------------------------------------------*/

namespace App\Yantrana\Components\User\Models;

use App\Yantrana\Base\BaseModel;

class NotificationLog extends BaseModel
{
    /**
     * @var string - The database table used by the model.
     */
    protected $table = 'notifications';

    /**
     * @var array - The attributes that should be casted to native types..
     */
    protected $casts = [
        'id' => 'integer',
        'users__id' => 'integer',
    ];

    /**
     * @var array - The attributes that are mass assignable.
     */
    protected $fillable = ['status', 'users__id', 'message', 'action', 'is_read','from_users__id','type'];
}
