package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-温湿度检测数据表
|
*
|
* @author chen
|
* @date 2022-09-02 16:07
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1302")
|
@EqualsAndHashCode(callSuper=false)
|
public class Api1302 extends ApiParent implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -7985638448449311029L;
|
|
public static String SORT_PROP = "jcsj";
|
|
@Id
|
@PropertyDef(label = "温湿度检测单号" )
|
@Column(name = "wsdjcdh", length = 42, nullable = false)
|
private String wsdjcdh;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "检测时间")
|
@Column(name = "jcsj", nullable = false)
|
private Date jcsj;
|
|
@PropertyDef(label = "货位代码" )
|
@Column(name = "hwdm", length = 30, nullable = false)
|
private String hwdm;
|
|
@PropertyDef(label = "仓房外温" )
|
@Column(name = "cfww", precision = 20, scale = 6, nullable = false)
|
private double cfww;
|
|
@PropertyDef(label = "仓房外湿" )
|
@Column(name = "cfws", precision = 20, scale = 6, nullable = false)
|
private double cfws;
|
|
@PropertyDef(label = "仓房内温" )
|
@Column(name = "cfnw", precision = 20, scale = 6, nullable = false)
|
private double cfnw;
|
|
@PropertyDef(label = "仓房内湿" )
|
@Column(name = "cfns", precision = 20, scale = 6, nullable = false)
|
private double cfns;
|
|
@PropertyDef(label = "粮食最高温" )
|
@Column(name = "lszgw", precision = 20, scale = 6, nullable = false)
|
private double lszgw;
|
|
@PropertyDef(label = "粮食最低温" )
|
@Column(name = "lszdw", precision = 20, scale = 6, nullable = false)
|
private double lszdw;
|
|
@PropertyDef(label = "粮食平均温" )
|
@Column(name = "lspjw", precision = 20, scale = 6, nullable = false)
|
private double lspjw;
|
|
@PropertyDef(label = "粮食温度值集合" )
|
@Column(name = "lswdzjh", length = 5000, nullable = false)
|
private String lswdzjh;
|
|
@PropertyDef(label = "粮食湿度值集合" )
|
@Column(name = "lssdzjh", length = 5000)
|
private String lssdzjh;
|
|
@PropertyDef(label = "操作标志")
|
@Column(name = "czbz", length = 1, nullable = false)
|
private String czbz;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "最后更新时间" )
|
@Column(name = "zhgxsj", nullable = false)
|
private Date zhgxsj;
|
|
}
|