first commit
This commit is contained in:
28
app/Models/UserNotificationSetting.php
Normal file
28
app/Models/UserNotificationSetting.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UserNotificationSetting extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
//
|
||||
public const USER_PUSH_NOTIFICATION = 'user_push_notification';
|
||||
public const USER_BOOKKEEPING_QUEUE = 'user_bookkeeping_queue';
|
||||
public const USER_COMPANY_SECURTY_QUEUE = 'user_company_securty_queue';
|
||||
public const USER_CHAT_ROOM = 'user_chat_room';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'notification',
|
||||
'is_active',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user