/*
 * Copyright 2025 Daytona Platforms Inc.
 * SPDX-License-Identifier: AGPL-3.0
 */

import { ApiProperty, ApiSchema } from '@nestjs/swagger'
import { IsNotEmpty, IsString } from 'class-validator'

@ApiSchema({ name: 'UpdateOrganizationDefaultRegion' })
export class UpdateOrganizationDefaultRegionDto {
  @ApiProperty({
    description: 'The ID of the default region for the organization',
    example: 'us',
    required: true,
  })
  @IsString()
  @IsNotEmpty()
  defaultRegionId: string
}
