*/ 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', ]; } }