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

export class DeviceDto {
  @ApiProperty()
  deviceId: string;

  @ApiProperty()
  deviceName: string;

  @ApiProperty()
  addedAt: Date;

  @ApiProperty()
  lastActiveAt: Date;

  @ApiProperty()
  isCurrent: boolean;
}

// 导出别名以兼容其他命名方式
export { DeviceDto as DeviceResponseDto };
