Fix Aircraft Model | Add trait for relationship (#1345)
* Add trait for relationship * StlyeFix
This commit is contained in:
parent
9146c4a68f
commit
358f0b663e
@ -7,6 +7,7 @@ use App\Models\Enums\AircraftStatus;
|
|||||||
use App\Models\Traits\ExpensableTrait;
|
use App\Models\Traits\ExpensableTrait;
|
||||||
use App\Models\Traits\FilesTrait;
|
use App\Models\Traits\FilesTrait;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
|
use Znck\Eloquent\Traits\BelongsToThrough;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property int id
|
* @property int id
|
||||||
@ -31,6 +32,7 @@ class Aircraft extends Model
|
|||||||
{
|
{
|
||||||
use ExpensableTrait;
|
use ExpensableTrait;
|
||||||
use FilesTrait;
|
use FilesTrait;
|
||||||
|
use BelongsToThrough;
|
||||||
|
|
||||||
public $table = 'aircraft';
|
public $table = 'aircraft';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user