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