Files
dmenu-api/src/modules/review/dto/reply-review.dto.ts
T
2026-07-17 10:18:39 +03:30

11 lines
335 B
TypeScript

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;
}