mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 21:59:40 +00:00
feat/working on update card control
This commit is contained in:
@ -58,6 +58,24 @@ export class CustomerResponseDto {
|
||||
@ApiProperty()
|
||||
waitingNumber!: number;
|
||||
|
||||
@ApiProperty()
|
||||
country!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
region!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
city!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
neighborhood!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
street!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
building!: string | null;
|
||||
|
||||
@ApiPropertyOptional({ type: DocumentMetaResponseDto })
|
||||
profilePicture!: DocumentMetaResponseDto | null;
|
||||
|
||||
@ -80,7 +98,12 @@ export class CustomerResponseDto {
|
||||
this.isJunior = customer.isJunior;
|
||||
this.isGuardian = customer.isGuardian;
|
||||
this.waitingNumber = customer.waitingNumber;
|
||||
|
||||
this.country = customer.country;
|
||||
this.region = customer.region;
|
||||
this.city = customer.city;
|
||||
this.neighborhood = customer.neighborhood;
|
||||
this.street = customer.street;
|
||||
this.building = customer.building;
|
||||
this.profilePicture = customer.profilePicture ? new DocumentMetaResponseDto(customer.profilePicture) : null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user