From 8e095a4a2e882e31836e98742bf4f408233bd351 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 25 九月 2025 10:06:05 +0800 Subject: [PATCH] 上海对农数据接口调整 --- src/main/java/com/fzzy/api/entity/Api1108.java | 33 +++++++++++++++++++++------------ 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1108.java b/src/main/java/com/fzzy/api/entity/Api1108.java index fbc3bda..2a9fb26 100644 --- a/src/main/java/com/fzzy/api/entity/Api1108.java +++ b/src/main/java/com/fzzy/api/entity/Api1108.java @@ -3,11 +3,8 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonIgnore; - import lombok.Data; - import javax.persistence.*; - import java.io.Serializable; import java.util.Date; @@ -17,14 +14,14 @@ @Data @Entity @Table(name = "API_1108") -public class Api1108 implements Serializable { +public class Api1108 implements Serializable { /** - * - */ - private static final long serialVersionUID = -7131774374918644731L; + * + */ + private static final long serialVersionUID = -7131774374918644731L; - @Id + @Id @Column(name = "ID_", length = 40) @JsonIgnore private String id; @@ -38,9 +35,17 @@ @Column(name = "kqdm", length = 21) private String kqdm; + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; + @PropertyDef(label = "鍗曚綅浠g爜") @Column(name = "dwdm", length = 18) private String dwdm; + + @PropertyDef(label = "缁熶竴鍗曚綅浠g爜") + @Column(name = "tydwbm", length = 20) + private String tydwbm; @PropertyDef(label = "搴撳尯鍚嶇О") @Column(name = "kqmc", length = 256) @@ -90,26 +95,30 @@ @Column(name = "czclfs", length = 1000) private String czclfs; - @PropertyDef(label = "淇濊川鏈�") - @Column(name = "bzq", length = 20) + @PropertyDef(label = "淇濊川鏈�", description = "鍑犲勾銆佸嚑涓湀绛�") + @Column(name = "bzq", length = 50) private String bzq; @PropertyDef(label = "閲囪喘鏃ユ湡") @JSONField(format = "yyyy-MM-dd") - @Column(name = "cgrq", nullable = false) + @Column(name = "cgrq") private Date cgrq; @PropertyDef(label = "搴撳瓨鏁伴噺") @Column(name = "kcsl", precision = 20, scale = 6) private Double kcsl; + @Column(name = "kcsldw", length = 1) + @PropertyDef(label = "搴撳瓨閲忓崟浣�", description = "1(榛樿)锛氬叕鏂わ紱2锛氬厠锛�3锛氭鍗囷紱") + private String kcsldw; + @PropertyDef(label = "鎿嶄綔鏍囧織") @Column(name = "czbz", length = 1) private String czbz; @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @Column(name = "zhgxsj", nullable = false) + @Column(name = "zhgxsj") private Date zhgxsj; } -- Gitblit v1.9.3