import { ApiProperty } from '@nestjs/swagger';

export class CreateIpDto {
  @ApiProperty({ example: '192.168.0.1' })
  ip: string;

  @ApiProperty({ example: 'Kathmandu', required: false })
  city?: string;

  @ApiProperty({ example: 'Nepal', required: false })
  country?: string;

  @ApiProperty({ example: 'Mozilla/5.0', required: false })
  userAgent?: string;

  @ApiProperty({ example: 'ASN123', required: false })
  asn?: string;
}
