Files
YiAi/service/src/modules/chatLog/dto/delByGroup.dto.ts
2024-01-27 19:53:17 +08:00

10 lines
396 B
TypeScript

import { IsNotEmpty, MinLength, MaxLength, IsString, IsIn, IsOptional, Max, Min, ValidateNested, IsNumber, IsDefined } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { BaseEntity } from 'typeorm';
export class DelByGroupDto {
@ApiProperty({ example: 1, description: '对话组Id', required: true })
groupId: number;
}