import { ApiProperty } from '@nestjs/swagger'; import { IsString, MaxLength, MinLength } from 'class-validator'; export class SendObjectiveMessageDto { @ApiProperty({ example: 'Je voudrais apprendre a mieux facturer mes clients', }) @IsString() @MinLength(1) @MaxLength(2000) message!: string; }