import { IsNotEmpty, IsString, MaxLength } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; export class ReplyReviewDto { @IsNotEmpty() @IsString() @MaxLength(2000) @ApiProperty({ description: 'Restaurant reply comment', example: 'از بازخورد شما سپاسگزاریم' }) comment: string; }