initial: standalone repo from monorepo split
This commit is contained in:
7
src/account/dto/update-account.dto.ts
Normal file
7
src/account/dto/update-account.dto.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { IsString, IsOptional, IsBoolean, MinLength } from 'class-validator';
|
||||
|
||||
export class UpdateAccountDto {
|
||||
@IsOptional() @IsString() @MinLength(2) name?: string;
|
||||
@IsOptional() @IsString() accountNo?: string;
|
||||
@IsOptional() @IsBoolean() isActive?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user