| package com.fzzy.async.fzzy40.entity; | 
|   | 
| import com.bstek.dorado.annotation.PropertyDef; | 
| import com.fzzy.async.fzzy35.entity.Fz35CheckItemKey; | 
| import lombok.Data; | 
|   | 
| import javax.persistence.*; | 
| import java.io.Serializable; | 
|   | 
| /** | 
|  * 用于出入库质检详细项和日常巡检的详细项记录 | 
|  * | 
|  * @author: andy.jia | 
|  * @description: | 
|  * @version: | 
|  * @data:2020年4月7日 | 
|  */ | 
| @Data | 
| @Entity | 
| @Table(name = "D_CHECK_ITEM") | 
| @IdClass(Fz40CheckItemKey.class) | 
| public class Fz40CheckItem 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; | 
|   | 
| } |