'integer' ]; public function subactivities(): BelongsToMany { return $this->belongsToMany(Subactivity::class); } public static function nami(int $id): ?self { return static::firstWhere('nami_id', $id); } }