*/ use BelongsToSpace, HasFactory, HasUuids, SoftDeletes; protected $fillable = [ 'name', 'color', 'source', 'user_id', 'space_id', ]; protected function casts(): array { return [ 'source' => LabelSource::class, ]; } /** * Only labels the user created and manages directly. Excludes labels that * back a savings goal — those are managed through the goal, not the label * settings screen. * * @param Builder