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

* Add trait for relationship

* StlyeFix
pull/1347/head
B.Fatih KOZ 3 years ago committed by GitHub
parent 9146c4a68f
commit 358f0b663e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save