feat: 调整项目层级
This commit is contained in:
16
server/src/modules/system/user/dto/query-list.dto.ts
Normal file
16
server/src/modules/system/user/dto/query-list.dto.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { PaginationDto } from '@/common/dto/pagination.dto';
|
||||
import { IsOptional, IsInt } from 'class-validator';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
export class QueryListDto extends PaginationDto {
|
||||
@IsOptional()
|
||||
account?: string;
|
||||
|
||||
@IsOptional()
|
||||
name?: string;
|
||||
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
status?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user