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

export class PinDto {
  @ApiProperty({ example: "0000" })
  @IsDefined()
  @IsNotEmpty()
  @IsString()
  pin: string;
}
