mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
resolve dto issue
This commit is contained in:
@ -27,6 +27,19 @@ export class UpdateRegionDataDto {
|
||||
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 {
|
||||
@ApiProperty({
|
||||
description: 'firstName',
|
||||
|
Reference in New Issue
Block a user