11 lines
163 B
TypeScript
11 lines
163 B
TypeScript
import { IsNotEmpty, IsString } from 'class-validator';
|
|
|
|
export class ChatDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
message: string;
|
|
|
|
@IsString()
|
|
model: string;
|
|
}
|