mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
21 lines
509 B
PHP
21 lines
509 B
PHP
<?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';
|
|
} |