forked from Yara724/api
40 lines
714 B
TypeScript
40 lines
714 B
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
|
|
export class UserRatingDto {
|
|
@ApiProperty({
|
|
type: Number,
|
|
minimum: 0,
|
|
maximum: 5,
|
|
description: "سرعت پیشرفت پرونده",
|
|
example: 4,
|
|
})
|
|
progressSpeed: number;
|
|
|
|
@ApiProperty({
|
|
type: Number,
|
|
minimum: 0,
|
|
maximum: 5,
|
|
description: "سهولت ثبت پرونده",
|
|
example: 4,
|
|
})
|
|
registrationEase: number;
|
|
|
|
@ApiProperty({
|
|
type: Number,
|
|
minimum: 0,
|
|
maximum: 5,
|
|
description: "ارزیابی کلی",
|
|
example: 5,
|
|
})
|
|
overallEvaluation: number;
|
|
|
|
@ApiProperty({
|
|
type: String,
|
|
required: false,
|
|
description: "متن رضایت یا عدم آن",
|
|
})
|
|
comment?: string;
|
|
}
|
|
|
|
|