Files
backend/src/users/dto/update-user-password.dto.ts
T
2026-08-02 17:21:34 +03:30

8 lines
225 B
TypeScript

import { IsString, MinLength } from 'class-validator';
export class UpdateUserPasswordDto {
@IsString()
@MinLength(4, { message: 'رمز عبور باید حداقل ۴ کاراکتر باشد' })
password!: string;
}