-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Group.php
41 lines (35 loc) · 845 Bytes
/
Group.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
<?php
/*
* Author: WOLF
* Name: Group.php
* Modified : mer., 21 févr. 2024 11:29
* Description: ...
*
* Copyright 2024 -[MR.WOLF]-[WS]-
*/
namespace MrWolfGb\Traccar\Models;
use Illuminate\Database\Eloquent\Model;
use MrWolfGb\Traccar\Trait\ArrayToModel;
/**
* MrWolfGb\Traccar\Models\Group
*
* @property string $name
* @property string $groupId
* @property array|null $attribs
* @method static \Illuminate\Database\Eloquent\Builder|Group newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Group newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Group query()
* @mixin \Eloquent
*/
class Group extends Model
{
use ArrayToModel;
protected $fillable = [
'name',
'groupId',
'attribs',
];
protected $casts = [
'attribs' => 'array',
];
}