'timestamp', 'created_at' => 'timestamp', 'deleted_at' => 'timestamp', ]; public function user() { return $this->belongsTo(User::class); } public function company() { return $this->belongsTo(Company::class); } public function company_ledgerable() { return $this->morphTo(); } }