Files
psp_api/src/modules/consumer/dto/update-info-request.dto.ts
T

29 lines
460 B
TypeScript
Raw Normal View History

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
}