review
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user