mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 10:46:17 +00:00
fix some issues
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