2026-04-24 02:20:15 +03:30
|
|
|
import { ApiProperty } from '@nestjs/swagger'
|
2026-04-27 10:45:39 +03:30
|
|
|
import { IsOptional, IsString } from 'class-validator'
|
2026-04-24 02:20:15 +03:30
|
|
|
|
|
|
|
|
export class UpdatePartnerProfileDto {
|
|
|
|
|
@IsString()
|
|
|
|
|
@ApiProperty({ required: true })
|
|
|
|
|
name: string
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@ApiProperty({ required: true })
|
|
|
|
|
code: string
|
2026-04-27 10:45:39 +03:30
|
|
|
|
|
|
|
|
@IsOptional()
|
|
|
|
|
@ApiProperty({ required: false, type: 'string', format: 'binary' })
|
|
|
|
|
logo?: any
|
2026-04-24 02:20:15 +03:30
|
|
|
}
|