feat: implement consumer info update and password change functionality with DTOs

This commit is contained in:
2026-05-18 10:53:58 +03:30
parent 12b11cc238
commit 23ae3556de
9 changed files with 165 additions and 17 deletions
@@ -0,0 +1,28 @@
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
}