package cn.iocoder.yudao.module.knowledge.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class Content {

    @Schema(description = "题干", example = "def")
    private Detail stem;
    @Schema(description = "选项", example = "abc")
    private List<Detail> options;

    @Data
    public static class Detail {
        private String text;
        private String options;
        private String fileUrl;
    }
}

