app/Models/Skills/Skill.php
class Skill extends Model{ // protected $appends = ['complete_name']; // public function getCompleteNameAttribute() : string { return '[' . ($this->level->name ?? '') . '] ' . ($this->skill_type->shortname ?? '') . ' - ' . $this->name ?? ''; }}