apps/recallassess/recallassess-api/src/api/admin/knowledge-review/dto/quiz/knowledge-review-question-save.dto.ts
Properties |
|
| Optional question_text |
Type : string
|
Decorators :
@Expose()
|
| Optional question_type |
Type : string
|
Decorators :
@Expose()
|
| Optional sort_order |
Type : number
|
Decorators :
@Expose()
|
import { IsInt, IsOptional, IsString } from "class-validator";
import {Expose, Exclude} from "class-transformer";
@Exclude()
export class KnowledgeReviewQuestionSaveDto {
@Expose()
@IsOptional()
@IsString()
question_text?: string;
@Expose()
@IsOptional()
@IsString()
question_type?: string;
@Expose()
@IsOptional()
@IsInt()
sort_order?: number;
}