From 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期六, 11 十月 2025 13:35:42 +0800 Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送 --- src/main/java/com/fzzy/api/entity/Api1105.java | 47 ++++++++++++++++++++++++++++++++++++----------- 1 files changed, 36 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1105.java b/src/main/java/com/fzzy/api/entity/Api1105.java index 06c73aa..817ccb1 100644 --- a/src/main/java/com/fzzy/api/entity/Api1105.java +++ b/src/main/java/com/fzzy/api/entity/Api1105.java @@ -2,16 +2,12 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; - import lombok.Data; import lombok.EqualsAndHashCode; - - import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; - import java.io.Serializable; import java.util.Date; @@ -22,17 +18,19 @@ @Entity @Table(name = "API_1105") @EqualsAndHashCode(callSuper=false) -public class Api1105 extends ApiParent implements Serializable { +public class Api1105 implements Serializable { - /** - * - */ private static final long serialVersionUID = -6967028172020353365L; + /*----------鍥芥爣瀛楁----------*/ @Id @PropertyDef(label = "璐т綅浠g爜" ) @Column(name = "hwdm", length = 30) private String hwdm; + + @PropertyDef(label = "缁熶竴璐т綅缂栫爜" ) + @Column(name = "tyhwbm", length = 28) + private String tyhwbm; @PropertyDef(label = "璐т綅鍚嶇О" ) @Column(name = "hwmc", length = 256) @@ -44,12 +42,12 @@ @PropertyDef(label = "璐т綅鍚敤鏃ユ湡" ) @JSONField(format = "yyyy-MM-dd") - @Column(name = "hwqyrq", nullable = false) + @Column(name = "hwqyrq") private Date hwqyrq; @PropertyDef(label = "璐т綅瀹归噺" ) @Column(name = "hwrl", precision = 20, scale = 6) - private double hwrl; + private Double hwrl; @PropertyDef(label = "淇濈鍗曚綅" ) @Column(name = "bgdw", length = 128) @@ -65,7 +63,34 @@ @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�" ) @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @Column(name = "zhgxsj", nullable = false) + @Column(name = "zhgxsj") private Date zhgxsj; + + /*----------涓婃捣甯傚钩鍙拌鑼冨瓧娈�----------*/ + @PropertyDef(label = "鏍囪浣�") + @Column(name = "bjw", length = 40) + private String bjw; + + @PropertyDef(label = "璐т綅鐘舵��") + @Column(name = "hwzt", length = 40) + private String hwzt; + + + /*----------鎺ュ彛绯荤粺鑷畾涔夊瓧娈�----------*/ + @JSONField(serialize = false) + @PropertyDef(label = "涓氬姟id") + @Column(name = "bizId", length = 40) + private String bizId; + + @JSONField(serialize = false) + @PropertyDef(label = "搴撳尯浠g爜") + @Column(name = "kqdm", length = 21) + private String kqdm; + + @JSONField(serialize = false) + @PropertyDef(label = "鍚屾鏃堕棿", description = "浠庣伯搴撶郴缁熷悓姝ュ埌鎺ュ彛绠$悊涓績鐨勬椂闂�") + @Column(name = "syncTime") + private Date syncTime; + } -- Gitblit v1.9.3