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

export class HeartbeatDto {
  @ApiProperty({ example: 'uuid-v4-xxx' })
  @IsString()
  installId: string;

  @ApiProperty({ example: '1.0.0' })
  @IsString()
  appVersion: string;

  @ApiProperty({ example: 1732685100 })
  @IsNumber()
  clientTs: number;
}
