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) private String wsdjcdh; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "检测时间") @Column(name = "jcsj") private Date jcsj; @PropertyDef(label = "货位代码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "统一货位编码" ) @Column(name = "tyhwbm", length = 28) private String tyhwbm; @PropertyDef(label = "仓房外温" ) @Column(name = "cfww", precision = 20) private double cfww; @PropertyDef(label = "仓房外湿" ) @Column(name = "cfws", precision = 20) private double cfws; @PropertyDef(label = "仓房内温" ) @Column(name = "cfnw", precision = 20) private double cfnw; @PropertyDef(label = "仓房内湿" ) @Column(name = "cfns", precision = 20) private double cfns; @PropertyDef(label = "粮食最高温" ) @Column(name = "lszgw", precision = 20) private double lszgw; @PropertyDef(label = "粮食最低温" ) @Column(name = "lszdw", precision = 20) private double lszdw; @PropertyDef(label = "粮食平均温" ) @Column(name = "lspjw", precision = 20) private double lspjw; @PropertyDef(label = "粮食温度值集合" ) @Column(name = "lswdzjh", length = 8000) private String lswdzjh; @PropertyDef(label = "粮食湿度值集合" ) @Column(name = "lssdzjh", length = 8000) private String lssdzjh; @PropertyDef(label = "操作标志") @Column(name = "czbz", length = 1) private String czbz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间" ) @Column(name = "zhgxsj") private Date zhgxsj; }