智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package org.springblade.modules.exam.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 考试成绩实体类
 * @author zhongrj
 * @time 2021-07-16
 */
@Data
@TableName("exam_score")
public class ExamScore implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 考试成绩主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
 
    /**
     * 准考证号
     */
    @TableField("candidate_no")
    private String candidateNo;
 
    /**
     * 理论成绩
     */
    @TableField("theory_grade")
    private Integer theoryGrade;
 
    /**
     * 实操成绩
     */
    @TableField("learn_grade")
    private Integer learnGrade;
 
 
    /**
     * 总成绩
     */
    @TableField("all_grade")
    private Integer allGrade;
 
 
    /**
     * 考试类型 0:正式考试  1: 模拟考试  2:在线联系  3:调查问卷
     */
//    @TableField("exam_type")
//    private Integer examType;
 
 
    /**
     * 考试人员所属公司名称
     */
    private String company;
 
    /**
     * 考试开始时间
     */
    @TableField("exam_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date examTime;
 
    /**
     * 考试结束时间
     */
    @TableField("exam_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date examEndTime;
 
    /**
     * 考试名称
     */
    @TableField("exam_name")
    private String examName;
 
 
    /**
     * 考试人员姓名
     */
    @TableField("security_name")
    private String securityName;
 
 
    /**
     * 试卷总分值
     */
    @TableField("all_score")
    private Integer allScore;
 
    /**
     * 是否合格  0:合格  1:不合格  2: 暂未录入实操成绩
     */
    private Integer qualified;
 
 
    @TableField("user_id")
    private String userId;
 
 
    /**
     * 考试id
     */
    @TableField("exam_id")
    private String examId;
 
 
    /**
     * 报名id
     */
    @TableField("apply_id")
    private Long applyId;
 
 
}