heheng
10 天以前 dfdc3c9b786769e5e53b6657d168de1ea922c76b
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
package com.gkhy.exam.system.domain;
 
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.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
 
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
 
/**
 * <p>
 * 线下教育登记表
 * </p>
 *
 * @author kzy
 * @since 2024-06-24 16:16:33
 */
@Getter
@Setter
@TableName("ex_exam_record")
@ApiModel(value = "ExExamRecord对象", description = "线下教育登记表")
@JsonInclude(NON_NULL)
public class ExExamRecord implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty("公司id")
    @TableField("company_id")
    private Long companyId;
 
    @NotNull(message = "学员id不能为空")
    @ApiModelProperty(value = "学员id",required = true)
    @TableField("student_id")
    private Long studentId;
 
    @NotBlank(message = "计划名称不能为空")
    @ApiModelProperty(value = "计划名称",required = true)
    @TableField("plan_name")
    private String planName;
 
    @NotBlank(message = "课程名称不能为空")
    @ApiModelProperty(value = "课程名称",required = true)
    @TableField("course_name")
    private String courseName;
 
    @NotNull(message = "培训等级不能为空")
    @ApiModelProperty(value = "培训等级(1公司级 2部门级 3车间级 默认1)",required = true)
    @TableField("level")
    private Integer level;
 
    @NotNull(message = "要求课时不能为空")
    @ApiModelProperty(value = "要求课时(分)",required = true)
    @TableField("period")
    private Integer period;
 
    @NotNull(message = "实际课时不能为空")
    @ApiModelProperty(value = "实际课时(分)",required = true)
    @TableField("actual_period")
    private Integer actualPeriod;
 
    @NotNull(message = "考试成绩不能为空")
    @ApiModelProperty("考试成绩")
    @TableField("score")
    private Integer score;
 
    @NotNull(message = "是否合格不能为空")
    @ApiModelProperty("是否合格,0不合格 1合格 默认0")
    @TableField("passed")
    private Integer passed;
 
    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;
 
    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;
 
    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
 
    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;
 
    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;
 
 
    @ApiModelProperty("公司名称")
    @TableField(exist = false)
    private String companyName;
 
    @ApiModelProperty("学生对象")
    @TableField(exist = false)
    private ExStudent student;
 
 
}