Add edit for flight type; block_on_time and block_off_time for PIREP API

This commit is contained in:
Nabeel Shahzad
2018-03-29 14:10:49 -05:00
parent be6fead812
commit 2ab4db3a2e
11 changed files with 65 additions and 27 deletions

View File

@@ -68,6 +68,8 @@ class Pirep extends Model
'flight_type',
'state',
'status',
'block_off_time',
'block_on_time',
'created_at',
'updated_at',
];
@@ -87,9 +89,10 @@ class Pirep extends Model
'fuel_used' => 'float',
'landing_rate' => 'float',
'source' => 'integer',
'flight_type' => 'integer',
'state' => 'integer',
'status' => 'integer',
'block_off_time' => 'datetime',
'block_on_time' => 'datetime',
];
public static $rules = [