package org.jeecg.modules.eam.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @Description: 检定工单
|
* @Author: jeecg-boot
|
* @Date: 2023-04-23
|
* @Version: V1.0
|
*/
|
@ApiModel(value = "mom_eam_calibration_order对象", description = "检定工单")
|
@Data
|
@TableName("mom_eam_calibration_order")
|
public class CalibrationOrder extends JeecgEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 工单号
|
*/
|
@Excel(name = "工单号", width = 15)
|
@ApiModelProperty(value = "工单号")
|
private String num;
|
/**
|
* 检定方式(self-自检,outsourcing-委外)
|
*/
|
@Excel(name = "检定方式(self-自检,outsourcing-委外)", width = 15)
|
@ApiModelProperty(value = "检定方式(self-自检,outsourcing-委外)")
|
@Dict(dicCode = "calibration_type")
|
private String calibrationType;
|
/**
|
* 设备id
|
*/
|
@Excel(name = "设备id", width = 15)
|
@ApiModelProperty(value = "设备id")
|
private String equipmentId;
|
/**
|
* 判定依据(data-数据,report-报告)
|
*/
|
@Excel(name = "判定依据(data-数据,report-报告)", width = 15)
|
@ApiModelProperty(value = "判定依据(data-数据,report-报告)")
|
@Dict(dicCode = "management_mode")
|
private String managementMode;
|
|
/**
|
* 检定人
|
*/
|
@Excel(name = "检定人", width = 15)
|
@ApiModelProperty(value = "检定人")
|
@Dict(dicCode = "id",dictTable="sys_user",dicText="username")
|
private String calibrationUserId;
|
/**
|
* 检定时间
|
*/
|
@Excel(name = "检定时间", width = 15)
|
@ApiModelProperty(value = "检定时间")
|
private java.util.Date calibrationTime;
|
/**
|
* 下发时间
|
*/
|
@Excel(name = "下发时间", width = 15)
|
@ApiModelProperty(value = "下发时间")
|
private java.util.Date issueTime;
|
/**
|
* 检定结果
|
*/
|
@Excel(name = "检定结果", width = 15)
|
@ApiModelProperty(value = "检定结果")
|
@Dict(dicCode = "technology_status")
|
private String calibrationResult;
|
/**
|
* 检定结果描述
|
*/
|
@Excel(name = "检定结果描述", width = 15)
|
@ApiModelProperty(value = "检定结果描述")
|
private String calibrationResultDesc;
|
/**
|
* 检定项目总数量
|
*/
|
@Excel(name = "检定项目总数量", width = 15)
|
@ApiModelProperty(value = "检定项目总数量")
|
private Integer calibrationItemNum;
|
/**
|
* 检定项目合格数量
|
*/
|
@Excel(name = "检定项目合格数量", width = 15)
|
@ApiModelProperty(value = "检定项目合格数量")
|
private Integer calibrationItemPassNum;
|
/**
|
* 检定项目不合格数量
|
*/
|
@Excel(name = "检定项目不合格数量", width = 15)
|
@ApiModelProperty(value = "检定项目不合格数量")
|
private Integer calibrationItemFailNum;
|
/**
|
* 领取人id
|
*/
|
@Excel(name = "领取人id", width = 15)
|
@ApiModelProperty(value = "领取人id")
|
private String recipientUserId;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 备用字段1
|
*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private String calibrationOrderUda1;
|
/**
|
* 备用字段2
|
*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private String calibrationOrderUda2;
|
/**
|
* 备用字段3
|
*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private String calibrationOrderUda3;
|
/**
|
* 备用字段4
|
*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private String calibrationOrderUda4;
|
/**
|
* 备用字段5
|
*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private String calibrationOrderUda5;
|
/**
|
* 备用字段6
|
*/
|
@Excel(name = "备用字段6", width = 15)
|
@ApiModelProperty(value = "备用字段6")
|
@Dict(dicCode = "technology_status")
|
private String calibrationOrderUda6;
|
/**
|
* 企业ID
|
*/
|
@Excel(name = "企业ID", width = 15)
|
@ApiModelProperty(value = "企业ID")
|
private String enterpriseId;
|
/**
|
* 删除状态(0-正常,1-已删除)
|
*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
/**
|
* 状态
|
*/
|
@Excel(name = "状态", width = 15)
|
@ApiModelProperty(value = "状态")
|
@Dict(dicCode = "equipment_calibration_order_status")
|
private String status;
|
|
/*********************************************** 扩 展 字 段 ********************************************************/
|
@TableField(exist = false)
|
private String equipmentNum;
|
|
@TableField(exist = false)
|
private String equipmentName;
|
|
@TableField(exist = false)
|
private String equipmentModel;
|
|
@TableField(exist = false)
|
private String equipmentSpecification;
|
|
@TableField(exist = false)
|
private List<Map<String, Object>> precisionParameterList;
|
/**
|
* 设备名称
|
*/
|
@TableField(exist = false)
|
private String numName;
|
|
/**
|
* 设备型号
|
*/
|
@TableField(exist = false)
|
private String numModel;
|
|
/**
|
* 设备编码
|
*/
|
@TableField(exist = false)
|
private String numCode;
|
/**
|
* 设备规格
|
*/
|
@TableField(exist = false)
|
private String specification;
|
|
@TableField(exist = false)
|
@ApiModelProperty(value = "检定工单明细")
|
private List<CalibrationOrderDetail> calibrationOrderDetailList;
|
|
/**
|
* 创建开始日期
|
*/
|
@TableField(exist = false)
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date createStartDate;
|
|
/**
|
* 结束开始日期
|
*/
|
@TableField(exist = false)
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date createEndDate;
|
|
/**
|
* 下发开始日期
|
*/
|
@TableField(exist = false)
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date issueStartDate;
|
|
/**
|
* 下发开始日期
|
*/
|
@TableField(exist = false)
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date issueEndDate;
|
}
|