无关风月
2024-12-31 52461f1688e83970d4aa3aa6b835bdf7719f5769
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.ruoyi.study.api.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
 
@ApiModel
@Data
public class SubjectDTO {
    @ApiModelProperty(value = "题目id 编辑才传")
    private Integer id;
    @ApiModelProperty(value = "题目名称",required = true)
    private String name;
    @ApiModelProperty(value = "英文释义",required = true)
    private String english;
    @ApiModelProperty(value = "预期题目类型 传中文 多个顿号是顿号 不是逗号拼接",required = true)
    private String type;
    @ApiModelProperty(value = "图片",required = true)
    private String img;
    @ApiModelProperty(value = "正确语音",required = true)
    private String correct;
    @ApiModelProperty(value = "错误语音 多个逗号拼接")
    private String error;
    @ApiModelProperty(value = "一级分类id")
    private Integer firstCategory;
    @ApiModelProperty(value = "二级分类id")
    private Integer secondCategory;
 
}