a9bc31a6创建于 2025年12月7日历史提交
import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsString } from 'class-validator';

export class RevokeApiTokenDto {
  @ApiProperty({
    description: '电子邮箱'
  })
  @IsEmail()
  email: string;

  @ApiProperty({
    description: 'TokenID'
  })
  @IsString()
  tokenId: string;
}