Files
CRM_Montzar/apps/api/src/ai/dto.ts
T

13 lines
229 B
TypeScript
Raw Normal View History

import { IsOptional, IsString, MaxLength, MinLength } from 'class-validator';
export class AskMentoDto {
@IsString()
@MinLength(2)
@MaxLength(500)
question!: string;
@IsOptional()
@IsString()
personId?: string;
}