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;
|
}
|