import { IsString, MaxLength, MinLength } from "class-validator";

export class ChangePasswordDto{
   
    // @MinLength(4)
    // @Matches(/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/,
    //     { message: 'password is too weak' }
    // )
    currentPwd:string;
    
    // @MinLength(4)
    pass: string;


    tpass?: string;

    deviceId?:string;

    mobNo? : string


 }
