update user address

This commit is contained in:
2026-02-16 10:36:51 +03:30
parent 77a584bf43
commit 218e1edebe
2 changed files with 3 additions and 3 deletions
@@ -15,12 +15,12 @@ export class CreateUserAddressDto {
@ApiProperty({ description: 'City name', example: 'Tehran' }) @ApiProperty({ description: 'City name', example: 'Tehran' })
@IsString() @IsString()
city!: string; city: string;
@ApiPropertyOptional({ description: 'Province', example: 'Tehran Province' }) @ApiPropertyOptional({ description: 'Province', example: 'Tehran Province' })
@IsOptional() @IsOptional()
@IsString() @IsString()
province?: string; province: string;
@ApiPropertyOptional({ description: 'Postal/ZIP code', example: '12345-6789' }) @ApiPropertyOptional({ description: 'Postal/ZIP code', example: '12345-6789' })
@IsOptional() @IsOptional()
+1 -1
View File
@@ -3,7 +3,7 @@ export interface UserAddressData {
title: string; title: string;
address: string; address: string;
city: string; city: string;
province?: string; province: string;
postalCode?: string; postalCode?: string;
latitude: number; latitude: number;
longitude: number; longitude: number;