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

/**
 * Token 响应数据 DTO
 */
export class TokenResponseDto {
  @ApiProperty({ description: '应用 ID', example: '1234567890' })
  public appid!: string;

  @ApiProperty({ description: '声网RTC的Token', example: '0061234567890abcdef...' })
  public rtcToken!: string;

  @ApiProperty({ description: '过期时间戳', example: 1704067200000 })
  public expiresAt!: number;
}
