hasOne(Company::class, 'id', 'default_company_id'); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function payment() { return $this->belongsTo(Payment::class); } }