belongsTo(User::class, 'terima_personalia'); } public function supervisor(): BelongsTo { return $this->belongsTo(User::class, 'terima_supervisor'); } public function disetujuiOleh(): Attribute { return new Attribute( get: fn ($value) => collect($this->personalia, $this->supervisor) ); } }