*/ use HasFactory, Notifiable, PasskeyAuthenticatable, TwoFactorAuthenticatable; public function dynamics() { return $this->belongsToMany(Dynamic::class, 'participants'); } public function mutations() { return $this->hasMany(Mutation::class); } /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', 'two_factor_confirmed_at' => 'datetime', ]; } }