From 029de836702607a95ccb0a69a74efcea52ddc451 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 25 九月 2025 19:35:38 +0800 Subject: [PATCH] 上海对农数据接口调整2 --- src/main/java/com/fzzy/async/fzzy61/entity/Fz61Grain.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Grain.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Grain.java new file mode 100644 index 0000000..4759321 --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Grain.java @@ -0,0 +1,114 @@ +package com.fzzy.async.fzzy61.entity; + +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Date; + +/** + * 绮儏鏁版嵁-涓昏〃 + * <p> + * 鏇存柊璁板綍锛� + * 1锛屽垹闄よ鏁版嵁鐨勮〃璁板綍锛岃皟鏁翠负鏁版嵁鐩存帴鏂囨湰淇濆瓨涓昏〃涓� + * 2锛屼繚鐣欑偣浣嶅潗鏍囦俊鎭紝渚夸簬浠ュ悗鐐逛綅璧板娍鍥炬煡鐪� + * + * @author Andy + */ +@Entity +@Table(name = "D_GRAIN") +@Data +@IdClass(Fz61GrainKey.class) +public class Fz61Grain implements Serializable { + + public static String SORT_PROP = "batchId"; + + @Id + @Column(name = "BATCH_ID_", length = 30) + @PropertyDef(label = "鎵规缂栧彿") + private String batchId; + + @Id + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜", description = "") + private String companyId; + + @Id + @Column(name = "DEPOT_ID_", length = 50) + @PropertyDef(label = "鎵�灞炰粨搴�", description = "浠撳簱缂栧彿") + private String depotId; + + + @Column(name = "TEMP_MIN_") + @PropertyDef(label = "鏈�浣庢俯绮俯", description = "鍗曚綅鈩冿紝绮儏鏈�浣庢俯") + private Double tempMin = 0.0; + + @Column(name = "TEMP_MAX_") + @PropertyDef(label = "鏈�楂樼伯娓�", description = "鍗曚綅鈩冿紝绮儏鏈�楂樻俯") + private Double tempMax = 0.0; + + @Column(name = "TEMP_AVE_") + @PropertyDef(label = "骞冲潎绮俯", description = "鍗曚綅鈩冿紝绮儏骞冲潎娓╁害") + private Double tempAve = 0.0; + + @Column(name = "HUMIDITY_IN_") + @PropertyDef(label = "浠撳唴婀垮害") + private Double humidityIn; + + @Column(name = "TEMP_IN_") + @PropertyDef(label = "浠撳唴娓╁害") + private Double tempIn; + + @Column(name = "HUMIDITY_OUT_") + @PropertyDef(label = "浠撳婀垮害") + private Double humidityOut; + + @Column(name = "TEMP_OUT_") + @PropertyDef(label = "浠撳娓╁害") + private Double tempOut; + + @Column(name = "CABLE_", length = 20) + @PropertyDef(label = "灞傝鍒�", description = "鐢ㄩ�楀彿闅斿紑鐨勯厤缃俊鎭�,灞�-琛�-鍒�") + private String cable; + + @PropertyDef(label = "绛掍粨灞傞厤缃�", description = "鐢�-闅斿紑鐨勯厤缃俊鎭�") + @Column(name = "CABLE_CIR_", length = 20) + private String cableCir; + + @PropertyDef(label = "娌归潰楂樺害", description = "鐢�-闅斿紑鐨勪袱涓�硷紝娌归潰楂樺害-寤虹瓚楂樺害") + @Column(name = "OIL_HEIGHT_", length = 20) + private String oilHeight; + + @Column(name = "WEATHER_", length = 20) + @PropertyDef(label = "澶╂皵", description = "鐩存帴濉啓涓枃淇℃伅锛屾櫞锛岄槾闆ㄥぉ") + private String weather = ""; + + @Column(name = "RECEIVE_DATE_") + @PropertyDef(label = "鎺ユ敹鏃堕棿") + private Date receiveDate; + + @Column(name = "CHECK_USER_", length = 30) + @PropertyDef(label = "妫�娴嬩汉") + private String checkUser; + + @Column(name = "REMARK_", length = 500) + @PropertyDef(label = "澶囨敞", description = "澶囨敞") + private String remark; + + @Column(name = "POINTS_", length = 2000) + @PropertyDef(label = "閲囬泦鐐逛俊鎭�", description = "鐢ㄩ�楀彿闅斿紑鐨勬俯搴︿俊鎭俊鎭�") + private String points; + + @Column(name = "PUSH_TAG_", length = 2) + @PropertyDef(label = "鎺ㄩ�佹爣璁�", description = "鎺ㄩ�佸钩鍙版爣璁�") + private String pushTag; + + @Column(name = "BATCH_TAG_", length = 2) + @PropertyDef(label = "鐢熸垚鏂瑰紡", description = "01-璁惧閲囬泦锛�02-鎵嬪姩琛ュ綍") + private String batchTag = "01"; + + @Transient + @PropertyDef(label = "鎵�灞炲垎搴�", description = "鍒嗗簱缂栫爜锛岄潪鏁版嵁搴撳瓧娈�") + private String deptId; +} -- Gitblit v1.9.3