import { IsDefined, IsString, IsNotEmpty } from "class-validator";
import { ApiProperty } from "@nestjs/swagger";

export class RequestResetPasswordDto {
  @ApiProperty({ example: "john@example.com" })
  @IsDefined()
  @IsNotEmpty()
  @IsString()
  username: string;
}
