import { ApiProperty } from '@nestjs/swagger' import { IsString } from 'class-validator' export class UpdateConsumerInfoDto { @IsString() @ApiProperty() first_name: string @IsString() @ApiProperty() last_name: string @IsString() @ApiProperty() mobile_number: string @IsString() @ApiProperty() national_code: string @IsString() @ApiProperty() company_name: string @IsString() @ApiProperty() registration_code: string }