module customers

This commit is contained in:
2026-06-28 20:08:27 +03:30
parent 043e80a139
commit 7a5b3f0bea
9 changed files with 253 additions and 1 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
import { IsOptional, IsString, Length } from 'class-validator';
import { IsOptional, IsString, Length, Matches } from 'class-validator';
export class UpdateUserDto {
@IsOptional()
@@ -10,4 +10,8 @@ export class UpdateUserDto {
@IsString()
@Length(1, 100)
lastName?: string;
@IsOptional()
@Matches(/^09\d{9}$/)
mobile?: string;
}