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/Api1212.java | 34 ++++++++++++++++++++++------------ 1 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1212.java b/src/main/java/com/fzzy/api/entity/Api1212.java index ea6590c..c86a853 100644 --- a/src/main/java/com/fzzy/api/entity/Api1212.java +++ b/src/main/java/com/fzzy/api/entity/Api1212.java @@ -4,15 +4,10 @@ import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; -import lombok.EqualsAndHashCode; - import javax.persistence.Column; import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; - import java.io.Serializable; import java.util.Date; @@ -22,8 +17,7 @@ @Data @Entity @Table(name = "API_1212") -@EqualsAndHashCode(callSuper = false) -public class Api1212 extends ApiParent implements Serializable { +public class Api1212 implements Serializable { public static String SORT_PROP = "kqmc"; @@ -36,26 +30,34 @@ @JSONField(serialize = false) @Id - @Column(name = "id") + @Column(name = "id", length = 50) private String id; - @PropertyDef(label = "鍗曚綅浠g爜", required = true) + @PropertyDef(label = "鍗曚綅浠g爜") @Column(name = "dwdm", length = 18) private String dwdm; - @PropertyDef(label = "鍗曚綅鍚嶇О", required = true) + @PropertyDef(label = "缁熶竴鍗曚綅缂栫爜") + @Column(name = "tydwbm", length = 20) + private String tydwbm; + + @PropertyDef(label = "鍗曚綅鍚嶇О") @Column(name = "dwmc", length = 256) private String dwmc; @PropertyDef(label = "搴撳尯浠g爜") @Column(name = "kqdm", length = 21) private String kqdm; + + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; @PropertyDef(label = "搴撳尯鍚嶇О") @Column(name = "kqmc", length = 256) private String kqmc; - @PropertyDef(label = "瀹㈡埛绫诲瀷", required = true) + @PropertyDef(label = "瀹㈡埛绫诲瀷") @Column(name = "khlx", length = 1) private String khlx; @@ -63,7 +65,7 @@ @Column(name = "khtyshxydmhsfzh", length = 18) private String khtyshxydmhsfzh; - @PropertyDef(label = "瀹㈡埛鍚嶇О", required = true) + @PropertyDef(label = "瀹㈡埛鍚嶇О") @Column(name = "khmc", length = 256) private String khmc; @@ -112,5 +114,13 @@ @Column(name = "zhgxsj") private Date zhgxsj; + @JSONField(serialize = false) + @PropertyDef(label = "涓氬姟id") + @Column(name = "bizId", length = 40) + private String bizId; + @JSONField(serialize = false) + @PropertyDef(label = "鍚屾鏃堕棿", description = "浠庣伯搴撶郴缁熷悓姝ュ埌鎺ュ彛绠$悊涓績鐨勬椂闂�") + @Column(name = "syncTime") + private Date syncTime; } -- Gitblit v1.9.3