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