Files
canina/backend/src/support-chat/support-chat.dto.ts
T

5 lines
133 B
TypeScript

import { IsString, Length } from 'class-validator';
export class SupportChatDto {
@IsString() @Length(1, 1500) message!: string;
}