You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
472 B
TypeScript

import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger"
import { IsEnum, IsOptional, IsString } from "class-validator"
import { CommonPageArgs } from "src/common"
export class QueryUserDto extends CommonPageArgs {
@ApiPropertyOptional({ description: '真实姓名' })
@IsString()
@IsOptional()
true_name: string
@ApiPropertyOptional({ description: "根据名称模糊搜索", required: false })
@IsString()
@IsOptional()
search?: string
}