14 lines
367 B
Handlebars
14 lines
367 B
Handlebars
import { PaginationDto } from '@/middlewares/response';
|
|
import { IntersectionType } from '@nestjs/swagger';
|
|
import { IsOptional, IsString } from 'class-validator';
|
|
|
|
export class Find{{upcaseName name}}Dto extends IntersectionType(PaginationDto) {
|
|
/**
|
|
* 字段描述(Swagger用途)
|
|
* @example '示例值'
|
|
*/
|
|
@IsOptional()
|
|
@IsString()
|
|
demo?: string;
|
|
}
|