package com.ruoyi.quality.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* '质量管理--检验记录
|
* quality_inspect_param
|
*/
|
@TableName(value = "quality_inspect_param")
|
@Data
|
public class QualityInspectParam implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
|
/**
|
* 指标
|
*/
|
@Excel(name = "指标")
|
private String parameterItem;
|
|
/**
|
* 单位
|
*/
|
@Excel(name = "单位")
|
private String unit;
|
|
/**
|
* 标准值
|
*/
|
@Excel(name = "标准值")
|
private String standardValue;
|
|
/**
|
* 内控值
|
*/
|
@Excel(name = "内控值")
|
private String controlValue;
|
|
/**
|
* 检验值
|
*/
|
@Excel(name = "检验值")
|
private String testValue;
|
|
/**
|
* 检测器具(可下拉选择设备,或者输入【目测】)
|
*/
|
@Excel(name = "检测器具")
|
private String instrument;
|
|
/**
|
* 设备ID(关联设备台账)
|
*/
|
@Excel(name = "设备ID")
|
private Long deviceId;
|
|
/**
|
* 设备名称(设备台账名称,用于展示)
|
*/
|
@Excel(name = "设备名称")
|
private String deviceName;
|
|
/**
|
* 设备状态(正常、停机、运行、维修)
|
*/
|
@Excel(name = "设备状态")
|
private String deviceStatus;
|
|
/**
|
* 检测结果(输入框)
|
*/
|
@Excel(name = "检测结果")
|
private String result;
|
|
/**
|
* 结果判断(合格、不合格、/)
|
*/
|
@Excel(name = "结果判断")
|
private String resultJudgment;
|
|
/**
|
* 检验ID
|
*/
|
@Excel(name = "检验ID")
|
@NotBlank(message = "检验id不能为空")
|
private Long inspectId;
|
|
|
|
@ApiModelProperty(value = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@ApiModelProperty(value = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ApiModelProperty(value = "修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@ApiModelProperty(value = "修改用户")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@ApiModelProperty(value = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
// 导出使用
|
@TableField(select = false, exist = false)
|
private Integer index;
|
|
|
}
|