*/ use HasFactory; use HasUuids, SoftDeletes; protected $table = 'investors'; protected $guarded = ['id']; public function newUniqueId(): string { // Keep application-generated identifiers aligned with gen_random_uuid(). return (string) Str::uuid(); } /** @return array */ protected function casts(): array { return [ 'version_no' => 'integer', 'created_at' => 'immutable_datetime', 'updated_at' => 'immutable_datetime', 'deleted_at' => 'immutable_datetime', 'investment_sectors' => 'array', 'investment_geographies' => 'array', 'investment_horizon_months' => 'integer', 'ticket_min' => 'decimal:2', 'ticket_max' => 'decimal:2', ]; } }