import { ApiProperty } from '@nestjs/swagger'; export class EsSearchDto { @ApiProperty({ description: '页码', type: 'number',required:false }) page?: number; @ApiProperty({ description: '每页展示多少数据', type: 'number',required:false }) pageSize?: number; @ApiProperty({ description: '开始时间', type: 'string' ,required:false}) regionTimeStart?: string; @ApiProperty({ description: '结束时间', type: 'string' ,required:false}) regionTimeEnd?: string; @ApiProperty({ description: '关键词', type: 'string' ,required:false}) keyword?: string; @ApiProperty({ description: '高级搜索关键词1', type: 'string' ,required:false}) advanceKeyword1?: string; @ApiProperty({ description: '高级搜索关键词2', type: 'string' ,required:false}) advanceKeyword2?: string; @ApiProperty({ description: '高级搜索关键词3', type: 'string' ,required:false}) advanceKeyword3?: string; @ApiProperty({ description: '排除词', type: 'string' ,required:false}) notKeyword: string; }