智慧保安后台管理-外网-验收版本
tangzy
2021-12-06 cc057177b2fb17aee9a173a6adbabdc578fd74c7
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.exam.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * 题目导入
 * @author zhongrj
 * @since 2021-08-05
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class ExamSubjectExcel implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @ColumnWidth(25)
    @ExcelProperty("题目名称")
    private String subjectName;
 
    @ColumnWidth(15)
    @ExcelProperty("题目类型(0:单选题 1:多选题 2:判断题 3:实操题)")
    private Integer choicesType;
 
    @ColumnWidth(20)
    @ExcelProperty("题库类型 A为简易题库,B为复杂题库,C为模拟题库")
    private String tktype;
 
    @ColumnWidth(25)
    @ExcelProperty("A项内容,选项内容判断题不需要填写")
    private String optionContentA;
 
    @ColumnWidth(25)
    @ExcelProperty("B项内容")
    private String optionContentB;
 
    @ColumnWidth(25)
    @ExcelProperty("C项内容")
    private String optionContentC;
 
    @ColumnWidth(25)
    @ExcelProperty("D项内容")
    private String optionContentD;
 
    @ColumnWidth(25)
    @ExcelProperty("E项内容(单选,多选,判断题不需填写,实操题ABCDE分别对应12345)")
    private String optionContentE;
 
    @ColumnWidth(15)
    @ExcelProperty("答案,多选和实操答案以英文逗号隔开,如A,B")
    private String answer;
 
    @ColumnWidth(15)
    @ExcelProperty("分值")
    private Integer score;
 
    @ColumnWidth(20)
    @ExcelProperty("解析")
    private String analysis;
 
 
}