-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notification.php
47 lines (41 loc) · 1.02 KB
/
Notification.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/*
* Author: WOLF
* Name: Notification.php
* Modified : lun., 26 févr. 2024 09:45
* Description: ...
*
* Copyright 2024 -[MR.WOLF]-[WS]-
*/
namespace MrWolfGb\Traccar\Models;
use Illuminate\Database\Eloquent\Model;
use MrWolfGb\Traccar\Trait\ArrayToModel;
/**
* MrWolfGb\Traccar\Models\Notification
*
* @property string $type
* @property string $notificators
* @property bool $always
* @property string $commandId
* @property string $calendarId
* @property array|null $attribs
* @method static \Illuminate\Database\Eloquent\Builder|Notification newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Notification newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Notification query()
* @mixin \Eloquent
*/
class Notification extends Model
{
use ArrayToModel;
protected $fillable = [
'type',
'notificators',
'always',
'commandId',
'calendarId',
'attribs',
];
protected $casts = [
'attribs' => 'array',
];
}