package com.fzzy.igds.dzhwk.domain;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
|
/**
|
* @Description 化验项
|
* @Author CZT
|
* @Date 2025/05/28 19:06
|
*/
|
@Data
|
@Entity
|
@IdClass(CheckItemKey.class)
|
@Table(name = "D_CHECK_ITEM")
|
public class CheckItem implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "CHECK_ID_", length = 40)
|
@PropertyDef(label = "检测编码")
|
private String checkId;
|
|
@Id
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Id
|
@Column(name = "STANDARD_ID_", length = 10)
|
@PropertyDef(label = "检测项编码")
|
private String standardId;
|
|
@Column(name = "STANDARD_NAME_", length = 50)
|
@PropertyDef(label = "化验项")
|
private String standardName;
|
|
@Column(name = "UNIT_", length = 20)
|
@PropertyDef(label = "单位")
|
private String unit;
|
|
@Column(name = "UPPER_LIMIT_")
|
@PropertyDef(label = "标准伐值")
|
private Double upperLimit;
|
|
@Column(name = "OPERA_SYMBOL_", length = 4)
|
@PropertyDef(label = "运算符号")
|
private String operaSymbol;
|
|
@Column(name = "RULE_NUM_")
|
@PropertyDef(label = "扣重系数")
|
private Double ruleNum;
|
|
@Column(name = "RULE_ADD_")
|
@PropertyDef(label = "增重%")
|
private Double ruleAdd;
|
|
@Column(name = "RULE_ADD_END_")
|
@PropertyDef(label = "增重上限%")
|
private Double ruleAddEnd;
|
|
@Column(name = "RULE_REDUCE_")
|
@PropertyDef(label = "扣重值%")
|
private Double ruleReduce;
|
|
@Column(name = "VALUE_", length = 40)
|
@PropertyDef(label = "检测值")
|
private String value;
|
|
@Column(name = "RULE_PRICE_")
|
@PropertyDef(label = "扣费系数")
|
private Double rulePrice;
|
|
@Column(name = "RULE_REDUCE_PRICE_")
|
@PropertyDef(label = "扣费")
|
private Double ruleReducePrice;
|
|
@Column(name = "ADD_NUM_")
|
@PropertyDef(label = "增重", description = "单位:kG")
|
private Double addNum;
|
|
@Column(name = "DE_NUM_")
|
@PropertyDef(label = "扣重", description = "单位:kG")
|
private Double deNum;
|
|
@Column(name = "ADD_PRICE_")
|
@PropertyDef(label = "增价", description = "单位:元")
|
private Double addPrice;
|
|
@Column(name = "DE_PRICE_")
|
@PropertyDef(label = "扣价", description = "单位:元")
|
private Double dePrice;
|
|
@Column(name = "RESULT_", length = 2)
|
@PropertyDef(label = "检验结果", description = "0=不合格 1=合格")
|
private String result;
|
|
@Column(name = "REMARKS_", length = 50)
|
@PropertyDef(label = "备注")
|
private String remarks;
|
|
@Transient
|
@PropertyDef(label = "运算符号值,只做页面显示用")
|
private String operaSymbolValue;
|
|
@Transient
|
@PropertyDef(label = "湿度")
|
private double perWet;
|
|
@Transient
|
@PropertyDef(label = "杂质")
|
private double perImpurity;
|
}
|