Add aircraft
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Aircraft extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'designator',
|
||||
'manufacturer_code',
|
||||
'model_full_name',
|
||||
'aircraft_description',
|
||||
'engine_type',
|
||||
'engine_count',
|
||||
'wtc',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'engine_count' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user