package com.ycwl.basic.integration.questionnaire.dto.question;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class QuestionResponse {
    
    @JsonProperty("id")
    private Long id;
    
    @JsonProperty("title")
    private String title;
    
    @JsonProperty("type")
    private Integer type;
    
    @JsonProperty("typeText")
    private String typeText;
    
    @JsonProperty("isRequired")
    private Boolean isRequired;
    
    @JsonProperty("sort")
    private Integer sort;
    
    @JsonProperty("createdAt")
    private String createdAt;
    
    @JsonProperty("updatedAt")
    private String updatedAt;
    
    @JsonProperty("options")
    private List<QuestionOptionResponse> options;
}