import { IsString, IsOptional, MaxLength } from 'class-validator';
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';

export class ImportTeleportConfigDto {
  @ApiProperty({ example: 'Server Import' })
  @IsString()
  @MaxLength(100)
  config_name: string;

  @ApiPropertyOptional({ example: 'Imported from live server' })
  @IsString()
  @IsOptional()
  description?: string;
}
