29 lines
668 B
PHP
29 lines
668 B
PHP
|
|
<?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',
|
||
|
|
];
|
||
|
|
}
|