package com.yuanchu.mom.pojo;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.yuanchu.mom.annotation.ValueTableShow;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 检验项目
|
*
|
* @TableName ins_product
|
*/
|
@TableName(value = "ins_product")
|
@Data
|
public class InsProduct implements Serializable {
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
@ValueTableShow(value = 1, name = "样品编号")
|
@TableField(exist = false,select = false)
|
private String sampleCode;
|
|
/**
|
* 检验项
|
*/
|
@ValueTableShow(value = 2, name = "检验项")
|
private String inspectionItem;
|
|
private String inspectionItemEn;
|
|
/**
|
* 检验项分类
|
*/
|
@ApiModelProperty(value = "检验项分类")
|
private String inspectionItemClass;
|
|
@ApiModelProperty(value = "检验项分类EN")
|
private String inspectionItemClassEn;
|
|
/**
|
* 检验项子类
|
*/
|
@ValueTableShow(value = 2, name = "检验项子类")
|
private String inspectionItemSubclass;
|
|
private String inspectionItemSubclassEn;
|
|
/**
|
* 工厂
|
*/
|
private String factory;
|
|
/**
|
* 实验室
|
*/
|
private String laboratory;
|
|
/**
|
* 样品分类
|
*/
|
@ValueTableShow(value = 3, name = "样品分类")
|
private String sampleType;
|
|
/**
|
* 样品
|
*/
|
@ValueTableShow(value = 4, name = "样品")
|
private String sample;
|
|
/**
|
* 型号
|
*/
|
@ValueTableShow(value = 5, name = "型号")
|
private String model;
|
|
private String methodS;
|
|
/**
|
* 子实验室
|
*/
|
@ValueTableShow(value = 6, name = "试验室")
|
private String sonLaboratory;
|
|
/**
|
* 计量单位
|
*/
|
private String unit;
|
|
/**
|
* 单价(元)
|
*/
|
private BigDecimal price;
|
|
/**
|
* 工时(H)
|
*/
|
private Double manHour;
|
|
/**
|
* 工时分组
|
*/
|
private String manHourGroup;
|
|
/**
|
* 检验项类型
|
*/
|
private String inspectionItemType;
|
|
/**
|
* 检验值类型
|
*/
|
private String inspectionValueType;
|
|
/**
|
* 设备组
|
*/
|
private String deviceGroup;
|
|
/**
|
* 检验次数
|
*/
|
private Integer checkoutNumber;
|
|
/**
|
* 区间
|
*/
|
private String section;
|
|
/**
|
* 取值类型
|
*/
|
private String valueType;
|
|
/**
|
* 方法
|
*/
|
private String method;
|
|
/**
|
* 预计时间(h)
|
*/
|
private Integer manDay;
|
|
/**
|
* 特殊标识
|
*/
|
private String bsm;
|
|
/**
|
* 要求值
|
*/
|
@ValueTableShow(value = 7, name = "要求值")
|
private String ask;
|
|
/**
|
* 要求描述
|
*/
|
@ValueTableShow(value = 8, name = "要求描述")
|
private String tell;
|
|
/**
|
* 最终值
|
*/
|
@TableField("`last_value`")
|
private String lastValue;
|
|
/**
|
* 1:合格 0:不合格 3:不判定
|
*/
|
private Integer insResult;
|
|
/**
|
* 1:有效 0:无效
|
*/
|
private Integer state;
|
|
/**
|
* 外键:ins_sample表id
|
*/
|
private Integer insSampleId;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ApiModelProperty("创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@ApiModelProperty("修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
|
/**
|
* 外键:standard_template表id
|
*/
|
private Integer templateId;
|
|
@TableField(exist = false)
|
private List<JSONObject> template;
|
|
@TableField(exist = false)
|
private Map<String, Object> style;
|
|
@TableField(exist = false)
|
private InsProductResult insProductResult;
|
|
@TableField(exist = false)
|
private List<InsProductResult2> insProductResult2;
|
|
@TableField(exist = false)
|
private String templateName;
|
|
private String dic;
|
//温度
|
private String temperature;
|
//湿度
|
private String humidity;
|
|
private Integer standardMethodListId;
|
|
}
|