package io.tchepannou.academy.dto.quiz;

import io.tchepannou.academy.domain.Persistent;

import java.util.List;

@SuppressWarnings("CPD-START")
public class QuizDto extends Persistent {
    private Integer id;
    private String type;
    private Integer videoId;
    private String question;
    private String description;
    private String answer;
    private List<QuizChoiceDto> choices;

    public Integer getId() {
        return id;
    }

    public void setId(final Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(final String type) {
        this.type = type;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(final Integer videoId) {
        this.videoId = videoId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(final String question) {
        this.question = question;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(final String description) {
        this.description = description;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(final String answer) {
        this.answer = answer;
    }

    public List<QuizChoiceDto> getChoices() {
        return choices;
    }

    public void setChoices(final List<QuizChoiceDto> choices) {
        this.choices = choices;
    }
}

@@ -38,57 +38,8 @@
 z;%0A%0A
-import io.tchepannou.academy.domain.Persistent;%0A%0A
 impo
@@ -114,27 +114,8 @@
 Dto 
-extends Persistent 
 %7B%0A  

fix hierarchy