Add score to model and fields
This commit is contained in:
parent
531e86f5e7
commit
5cd9c608a7
@ -42,6 +42,7 @@ class FileRequest extends FormRequest
|
||||
'route' => 'nullable',
|
||||
'notes' => 'nullable',
|
||||
'source_name' => 'nullable',
|
||||
'score' => 'nullable|integer',
|
||||
'landing_rate' => 'nullable|numeric',
|
||||
'flight_type' => 'nullable|integer',
|
||||
'block_off_time' => 'nullable|date',
|
||||
|
@ -37,6 +37,7 @@ class PrefileRequest extends FormRequest
|
||||
'block_fuel' => 'nullable|numeric',
|
||||
'route' => 'nullable',
|
||||
'notes' => 'nullable',
|
||||
'score' => 'nullable|integer',
|
||||
'flight_type' => 'nullable|integer',
|
||||
'block_off_time' => 'nullable|date',
|
||||
'block_on_time' => 'nullable|date',
|
||||
|
@ -47,7 +47,7 @@ class UpdateRequest extends FormRequest
|
||||
'block_on_time' => 'nullable|date',
|
||||
'created_at' => 'nullable|date',
|
||||
'status' => 'nullable',
|
||||
'source_name' => 'nullable',
|
||||
'score' => 'nullable|integer',
|
||||
|
||||
# See if the fare objects are included and formatted properly
|
||||
'fares' => 'nullable|array',
|
||||
|
@ -33,6 +33,7 @@ use PhpUnitsOfMeasure\Exception\NonStringUnitName;
|
||||
* @property integer block_time
|
||||
* @property integer flight_time In minutes
|
||||
* @property integer planned_flight_time
|
||||
* @property integer score
|
||||
* @property User user
|
||||
* @property Flight|null flight
|
||||
* @property Collection fields
|
||||
@ -74,6 +75,7 @@ class Pirep extends Model
|
||||
'landing_rate',
|
||||
'route',
|
||||
'notes',
|
||||
'score',
|
||||
'source',
|
||||
'source_name',
|
||||
'flight_type',
|
||||
@ -100,6 +102,7 @@ class Pirep extends Model
|
||||
'block_fuel' => 'float',
|
||||
'fuel_used' => 'float',
|
||||
'landing_rate' => 'float',
|
||||
'score' => 'integer',
|
||||
'source' => 'integer',
|
||||
'state' => 'integer',
|
||||
'block_off_time' => 'datetime',
|
||||
|
Loading…
Reference in New Issue
Block a user