mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
21
ci4/app/Models/NotificationModel.php
Normal file
21
ci4/app/Models/NotificationModel.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?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';
|
||||
}
|
||||
Reference in New Issue
Block a user