package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 实施熏蒸作业的储粮粮情明细表
|
*
|
* @Author:YAN
|
*/
|
@Entity
|
@Data
|
@Table(name = "D_DRUG_LOG_DTL")
|
public class DrugLogDtl implements Serializable {
|
|
@Id
|
@Column(name = "DTL_ID_", length = 40)
|
@PropertyDef(label = "dtlId")
|
private String dtlId;
|
|
@Column(name = "DRUG_LOG_ID_", length = 12)
|
@PropertyDef(label = "熏蒸备案编号", description = "填报日期yyyyMMdd+4位顺序号")
|
private String drugLogId;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓房/油罐代码")
|
private String depotId;
|
|
@Column(name = "FOOD_VARIETY_", length = 20)
|
@PropertyDef(label = "粮食品种")
|
private String foodVariety;
|
|
@Column(name = "FOOD_TYPE_", length = 20)
|
@PropertyDef(label = "粮食性质")
|
private String foodType;
|
|
@Column(name = "FOOD_LEVEL_", length = 10)
|
@PropertyDef(label = "粮食等级")
|
private String foodLevel;
|
|
@Column(name = "NUMBER_", precision = 20, scale = 3)
|
@PropertyDef(label = "粮食数量", description = "单位:吨")
|
private Double number = 0.0;
|
|
@Column(name = "PER_WET_", precision = 20, scale = 3)
|
@PropertyDef(label = "水分", description = "单位:%")
|
private Double perWet;
|
|
@Column(name = "PER_IMPURITY_", precision = 20, scale = 3)
|
@PropertyDef(label = "杂质", description = "单位:%")
|
private Double perImpurity;
|
|
@Column(name = "lw", precision = 20, scale = 3)
|
@PropertyDef(label = "粮温")
|
private Double lw;
|
|
@Column(name = "cw", precision = 20, scale = 3)
|
@PropertyDef(label = "仓温")
|
private Double cw;
|
|
@Column(name = "cnsd", precision = 20, scale = 3)
|
@PropertyDef(label = "仓内湿度")
|
private Double cnsd;
|
|
@Column(name = "clfs", length = 1)
|
@PropertyDef(label = "存粮方式", description = "1:散装储粮;2:包装;3:围包散存;9:其他")
|
private String clfs;
|
|
@Column(name = "rkrq")
|
@PropertyDef(label = "入库日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date rkrq;
|
|
@Column(name = "hc", length = 30)
|
@PropertyDef(label = "害虫")
|
private String hc;
|
|
@Column(name = "cldjpd", length = 3)
|
@PropertyDef(label = "虫粮等级判定")
|
private String cldjpd;
|
|
@Column(name = "ldtj", precision = 20, scale = 3)
|
@PropertyDef(label = "粮堆体积", description = "m³")
|
private Double ldtj;
|
|
@Column(name = "kjtj", precision = 20, scale = 3)
|
@PropertyDef(label = "空间体积", description = "m³")
|
private Double kjtj;
|
|
@Column(name = "lddwyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "粮堆单位用药量")
|
private Double lddwyyl;
|
|
@Column(name = "kjdwyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "空间单位用药量")
|
private Double kjdwyyl;
|
|
@Column(name = "zyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "总用药量")
|
private Double zyyl;
|
/**
|
* 仓房气密性以 500 Pa 的压力半衰 期 t 分为四个等级。
|
* 1: Ⅰ级,t≥300s。
|
* 2: Ⅱ级,120s≤t<300s。
|
* 3:Ⅲ级,40s≤t<120s (平房仓) , 60s≤ t<120s (立筒仓、浅圆仓) 。 4:Ⅳ级,t<40s (平房仓) ,t<60s (立筒仓、浅圆仓) 。
|
*/
|
@Column(name = "qmx", length = 1)
|
@PropertyDef(label = "气密性")
|
private String qmx;
|
|
@Column(name = "jhxzksrq")
|
@PropertyDef(label = "计划熏蒸开始日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date jhxzksrq;
|
|
@Column(name = "jhxzjsrq")
|
@PropertyDef(label = "计划熏蒸结束日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date jhxzjsrq;
|
|
}
|