Fix Aircraft Model | Add trait for relationship (#1345)

* Add trait for relationship

* StlyeFix
This commit is contained in:
B.Fatih KOZ 2021-11-03 19:51:34 +03:00 committed by GitHub
parent 9146c4a68f
commit 358f0b663e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';