mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 21:34:54 +00:00
resolve dto issue
This commit is contained in:
@ -27,6 +27,19 @@ export class UpdateRegionDataDto {
|
|||||||
Object.assign(this, dto);
|
Object.assign(this, dto);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
export class UpdateTimezoneDataDto {
|
||||||
|
@ApiProperty({
|
||||||
|
description: 'timezoneUuid',
|
||||||
|
required: true,
|
||||||
|
})
|
||||||
|
@IsString()
|
||||||
|
@IsNotEmpty()
|
||||||
|
public timezoneUuid: string;
|
||||||
|
|
||||||
|
constructor(dto: Partial<UpdateProfilePictureDataDto>) {
|
||||||
|
Object.assign(this, dto);
|
||||||
|
}
|
||||||
|
}
|
||||||
export class UpdateNameDto {
|
export class UpdateNameDto {
|
||||||
@ApiProperty({
|
@ApiProperty({
|
||||||
description: 'firstName',
|
description: 'firstName',
|
||||||
|
|||||||
Reference in New Issue
Block a user