package com.ruoyi.inspect.pojo; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; 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; @Schema(description = "项目参数id") private Integer structureItemParameterId; @TableField(exist = false,select = false) private String sampleCode; @Schema(description = "检验项") private String inspectionItem; @Schema(description = "检验项英文") private String inspectionItemEn; @Schema(description = "检验项分类") private String inspectionItemClass; @Schema(description = "检验项分类EN") private String inspectionItemClassEn; @Schema(description = "检验项子类") private String inspectionItemSubclass; @Schema(description = "检验项子类英文") private String inspectionItemSubclassEn; @Schema(description = "工厂") private String factory; @Schema(description = "实验室") private String laboratory; @Schema(description = "样品分类") private String sampleType; @Schema(description = "样品") private String sample; @Schema(description = "型号") private String model; @Schema(description = "方法") private String methodS; @Schema(description = "子实验室") private String sonLaboratory; @Schema(description = "计量单位") private String unit; @Schema(description = "单价(元)") private BigDecimal price; @Schema(description = "工时(H)") private BigDecimal manHour; @Schema(description = "工时分组") private String manHourGroup; @Schema(description = "检验项类型") private String inspectionItemType; @Schema(description = "检验值类型") private String inspectionValueType; @Schema(description = "设备组") private String deviceGroup; @Schema(description = "检验次数") private Integer checkoutNumber; @Schema(description = "区间") private String section; @Schema(description = "取值类型") private String valueType; @Schema(description = "方法") private String method; @Schema(description = "预计时间(h)") private Integer manDay; @Schema(description = "特殊标识") private String bsm; @Schema(description = "要求值") private String ask; @Schema(description = "要求描述") private String tell; @Schema(description = "最终值") @TableField("`last_value`") private String lastValue; @Schema(description = "合格状态: 1:合格 0:不合格, 3不判定") private Integer insResult; @Schema(description = "1:有效 0:无效") private Integer state; @Schema(description = "外键:ins_sample表id") private Integer insSampleId; @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; @Schema(description = "外键:standard_template表id") private Integer templateId; @Schema(description = "原始记录模板中的检验项行号") private Integer templateRowIndex; @TableField(exist = false) @Schema(description = "模板内容") private List template; @TableField(exist = false) @Schema(description = "模板内容颜色") private Map style; @TableField(exist = false) @Schema(description = "检验结果对象") private InsProductResult insProductResult; @TableField(exist = false) @Schema(description = "模板名称") private String templateName; @TableField(exist = false) @Schema(description = "订单模板页签顺序") private Integer templateSort; @TableField(exist = false) @Schema(description = "订单模板已填写单元格,按坐标保存") private String recordValues; @Schema(description = "字典类型") private String dic; //温度 private String temperature; //湿度 private String humidity; private Integer insFiberId; private Integer insFibersId; private Integer insBushId; @Schema(description = "标准方法id") private Integer standardMethodListId; //返回的20度常温的计算值(温度循环) @TableField(exist = false ,select = false) private String complue; @Schema(description = "条件") private String radius; @Schema(description = "收费标准(元/次)") private String rates; @Schema(description = "电缆配置标识") private String cableTag; @Schema(description = "原材料配置标识") private String rawMaterialTag; @Schema(description = "重复标识(一个检验项可能会存在多次)") private String repetitionTag; @Schema(description = "排序") private Integer sort; // 绑定值不参加展示, 只参加计算 @Schema(description = "是否是绑定值, 0否, 1是") private Integer isBinding; @Schema(description = "自关联(绑定id)") private Integer bindingProductId; }