Trần Viết Sơn
feat: update dto
be22897
raw
history blame contribute delete
373 Bytes
import { IsOptional, IsString } from 'class-validator';
export class UpdateBranchDto {
@IsString()
@IsOptional()
name?: string;
@IsString()
@IsOptional()
image_url?: string;
@IsString()
@IsOptional()
location?: string;
@IsString()
@IsOptional()
phone_number?: string;
@IsString()
@IsOptional()
owner_id?: string;
}