5 lines
133 B
TypeScript
5 lines
133 B
TypeScript
import { IsString, Length } from 'class-validator';
|
|
export class SupportChatDto {
|
|
@IsString() @Length(1, 1500) message!: string;
|
|
}
|