import { ApiProperty } from '@nestjs/swagger' import { IsOptional, IsString } from 'class-validator' export class UpdatePartnerProfileDto { @IsString() @ApiProperty({ required: true }) name: string @IsString() @ApiProperty({ required: true }) code: string @IsOptional() @ApiProperty({ required: false, type: 'string', format: 'binary' }) logo?: any }