package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
import java.util.Date;
|
import lombok.Data;
|
|
/**
|
* 化验标准配置信息
|
*
|
* @author: chen
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_CHECK_STANDARD")
|
public class CheckStandard implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "ID")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "DEPT_ID_", length = 40)
|
@PropertyDef(label = "所属库点")
|
private String deptId;
|
|
@Column(name = "FOOD_VARIETY_", length = 20)
|
@PropertyDef(label = "粮食品种")
|
private String foodVariety;
|
|
@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 = "OPERA_SYMBOL_",length = 4)
|
@PropertyDef(label = "运算符号")
|
private String operaSymbol;
|
|
@Column(name = "UPPER_LIMIT_")
|
@PropertyDef(label = "标准上限")
|
private Double upperLimit;
|
|
// @Column(name = "LOWER_LIMIT_")
|
// @PropertyDef(label = "标准下限")
|
// private Double lowerLimit;
|
|
@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 = "STANDARD_PRICE_")
|
@PropertyDef(label = "标准单价(元/斤)")
|
private Double standardPrice;
|
|
@Column(name = "RULE_PRICE_")
|
@PropertyDef(label = "扣费系数")
|
private Double rulePrice;
|
|
@Column(name = "RULE_REDUCE_PRICE_")
|
@PropertyDef(label = "扣费")
|
private Double ruleReducePrice;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "更新时间")
|
private Date updateTime;
|
|
@Column(name = "REMARKS_",length= 200)
|
@PropertyDef(label = "说明")
|
private String remarks;
|
|
}
|