import { IsEmail, IsNotEmpty, IsString } from 'class-validator'; export class CreateCustomerDto { @IsEmail() @IsString() @IsNotEmpty() email?: string; @IsString() @IsNotEmpty() name?: string; @IsString() @IsNotEmpty() password?: string; @IsString() @IsNotEmpty() confirmPassword?: string; @IsString() @IsNotEmpty() phoneNumber?: string; }