20 lines
288 B
TypeScript
20 lines
288 B
TypeScript
import { Expose } from 'class-transformer';
|
|
import { ChoiceReadDto } from './choice.dto';
|
|
|
|
export class QuestionUpdateDto {
|
|
@Expose()
|
|
id: number;
|
|
|
|
@Expose()
|
|
value: string;
|
|
|
|
@Expose()
|
|
mandatory: boolean;
|
|
|
|
@Expose()
|
|
order: number;
|
|
|
|
@Expose()
|
|
choices: ChoiceReadDto[];
|
|
}
|