qushaowei
2024-07-12 15ae1e3b5cda40a8248a1addf4a64c1e0a9e2b13
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
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * @Description: 操作证书管理
 * @Author: jeecg-boot
 * @Date:   2023-10-17
 * @Version: V1.0
 */
@ApiModel(value="mom_eam_operation_certificate对象", description="操作证书管理")
@Data
@TableName("mom_eam_operation_certificate")
public class OperationCertificate  extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
 
    /**操作证编号*/
    @Excel(name = "操作证编号", width = 15)
    @ApiModelProperty(value = "操作证编号")
    private String num;
    /**用户ID*/
    @Excel(name = "用户ID", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "用户ID")
    private String userId;
    /**发证日期*/
    @Excel(name = "发证日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "发证日期")
    private Date issueDate;
    /**开始时间*/
    @Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**结束时间*/
    @Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**当前周期分数*/
    @Excel(name = "当前周期分数", width = 15)
    @ApiModelProperty(value = "当前周期分数")
    private Integer currentCycleScore;
    /**设备ids*/
    @Excel(name = "设备ids", width = 15, dictTable = "mom_eam_equipment", dicText = "num", dicCode = "id")
    @Dict(dictTable = "mom_eam_equipment", dicText = "num", dicCode = "id")
    @ApiModelProperty(value = "设备ids")
    private String equipmentIds;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
    /**租户ID*/
    @Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
    /**删除标志*/
    @Excel(name = "删除标志", width = 15)
    @ApiModelProperty(value = "删除标志")
    @TableLogic
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**状态*/
    @Excel(name = "状态", width = 15, dicCode = "certificate_status")
    @Dict(dicCode = "certificate_status")
    @ApiModelProperty(value = "状态")
    private String status   ;
    /**enterpriseId*/
    @Excel(name = "enterpriseId", width = 15)
    @ApiModelProperty(value = "enterpriseId")
    private String enterpriseId;
    /**属性字段1*/
    @Excel(name = "属性字段1", width = 15)
    @ApiModelProperty(value = "属性字段1")
    private String uda1;
    /**属性字段2*/
    @Excel(name = "属性字段2", width = 15)
    @ApiModelProperty(value = "属性字段2")
    private String uda2;
    /**属性字段3*/
    @Excel(name = "属性字段3", width = 15)
    @ApiModelProperty(value = "属性字段3")
    private String uda3;
    /**属性字段4*/
    @Excel(name = "属性字段4", width = 15)
    @ApiModelProperty(value = "属性字段4")
    private String uda4;
    /**属性字段5*/
    @Excel(name = "属性字段5", width = 15)
    @ApiModelProperty(value = "属性字段5")
    private String uda5;
 
    /**工种*/
    @Excel(name = "工种", width = 15)
    @ApiModelProperty(value = "工种")
    private String profession;
 
    /**技能等级*/
    @Excel(name = "技能等级", width = 15)
    @ApiModelProperty(value = "技能等级")
    private String technicalLevel;
 
    @ExcelCollection(name="操作证管理明细")
    @ApiModelProperty(value = "操作证管理明细")
    @TableField(exist = false)
    private List<OperationCertificateDetail> operationCertificateDetailList;
}