feat: final updates
This commit is contained in:
@@ -31,7 +31,6 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $status
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*
|
||||
* @property Airline $airline
|
||||
* @property File|null $file
|
||||
* @property Airport $airport
|
||||
@@ -53,7 +52,8 @@ class Flight extends Model
|
||||
'price' => 'float',
|
||||
'capacity' => 'int',
|
||||
'views' => 'int',
|
||||
'status' => FlightStatus::class
|
||||
'status' => FlightStatus::class,
|
||||
'return_time' => 'datetime',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
@@ -72,6 +72,8 @@ class Flight extends Model
|
||||
'status',
|
||||
'created_by',
|
||||
'updated_by',
|
||||
'return_time',
|
||||
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
|
||||
Reference in New Issue
Block a user