add zfw field to aircraft

This commit is contained in:
Nabeel Shahzad
2018-01-30 10:04:50 -06:00
parent 351f777488
commit 6498ba1d16
3 changed files with 12 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ class Aircraft extends BaseModel
'icao',
'registration',
'tail_number',
'zfw',
'active',
];
@@ -22,7 +23,8 @@ class Aircraft extends BaseModel
* @var array
*/
protected $casts = [
'active' => 'boolean',
'zfw' => 'float',
'active' => 'boolean',
];
/**