currency()->value('name'); } public function currency() { return $this->belongsTo(Currency::class); } }