mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:04:53 +00:00
Merge branch 'create-home-endpoint' into create-room-endpoint
This commit is contained in:
@ -1,32 +0,0 @@
|
|||||||
import {
|
|
||||||
IsNotEmpty,
|
|
||||||
IsNumberString,
|
|
||||||
IsOptional,
|
|
||||||
IsString,
|
|
||||||
} from 'class-validator';
|
|
||||||
|
|
||||||
export class UserListDto {
|
|
||||||
@IsString()
|
|
||||||
@IsOptional()
|
|
||||||
schema: string;
|
|
||||||
|
|
||||||
@IsNumberString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
page_no: number;
|
|
||||||
|
|
||||||
@IsNumberString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
page_size: number;
|
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsOptional()
|
|
||||||
username: string;
|
|
||||||
|
|
||||||
@IsNumberString()
|
|
||||||
@IsOptional()
|
|
||||||
start_time: number;
|
|
||||||
|
|
||||||
@IsNumberString()
|
|
||||||
@IsOptional()
|
|
||||||
end_time: number;
|
|
||||||
}
|
|
||||||
@ -1,2 +1 @@
|
|||||||
export * from './home.list.dto';
|
|
||||||
export * from './add.home.dto';
|
export * from './add.home.dto';
|
||||||
|
|||||||
Reference in New Issue
Block a user