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

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