update 1.0.7
This commit is contained in:
14
app/Model/helpdesk/Notification/Notification.php
Normal file
14
app/Model/helpdesk/Notification/Notification.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Notification extends Model
|
||||
{
|
||||
protected $table = 'notifications';
|
||||
protected $fillable = [
|
||||
|
||||
'model_id', 'userid_created', 'type_id',
|
||||
];
|
||||
}
|
||||
14
app/Model/helpdesk/Notification/NotificationType.php
Normal file
14
app/Model/helpdesk/Notification/NotificationType.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class NotificationType extends Model
|
||||
{
|
||||
protected $table = 'notification_types';
|
||||
protected $fillable = [
|
||||
|
||||
'message', 'type', 'icon_class',
|
||||
];
|
||||
}
|
||||
14
app/Model/helpdesk/Notification/UserNotification.php
Normal file
14
app/Model/helpdesk/Notification/UserNotification.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UserNotification extends Model
|
||||
{
|
||||
protected $table = 'user_notification';
|
||||
protected $fillable = [
|
||||
|
||||
'notification_id', 'user_id', 'is_read',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user