*/ use HasFactory; protected $fillable = [ 'name', 'display_name', 'description', 'claims', 'is_active', ]; public function clients(): BelongsToMany { return $this->belongsToMany(OauthClient::class, 'oauth_client_scope', 'scope_id', 'client_id') ->withTimestamps(); } protected function casts(): array { return [ 'claims' => 'array', 'is_active' => 'boolean', ]; } }