Import navigation data from Navigraph files
This commit is contained in:
26
app/Models/Navdata.php
Normal file
26
app/Models/Navdata.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Navdata extends Model
|
||||
{
|
||||
public $table = 'navdata';
|
||||
public $timestamps = false;
|
||||
public $incrementing = false;
|
||||
|
||||
public $fillable = [
|
||||
'id',
|
||||
'name',
|
||||
'type',
|
||||
'lat',
|
||||
'lon',
|
||||
'freq',
|
||||
];
|
||||
|
||||
public $casts = [
|
||||
'id' => 'string',
|
||||
'type' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user