From caf2599a9869244ded811018811c37a2aabac3fc Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期三, 08 一月 2025 11:29:05 +0800 Subject: [PATCH] 优化测温协议 --- src/main/java/com/fzzy/api/entity/Api1108.java | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 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..1ed5a9d 100644 --- a/src/main/java/com/fzzy/api/entity/Api1108.java +++ b/src/main/java/com/fzzy/api/entity/Api1108.java @@ -4,7 +4,8 @@ import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonIgnore; -import lombok.Data; +import lombok.Getter; +import lombok.Setter; import javax.persistence.*; @@ -14,17 +15,18 @@ /** * 鎺ュ彛琛�-鑽墏淇℃伅 */ -@Data +@Getter +@Setter @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; @@ -91,7 +93,7 @@ private String czclfs; @PropertyDef(label = "淇濊川鏈�") - @Column(name = "bzq", length = 20) + @Column(name = "bzq", length = 40) private String bzq; @PropertyDef(label = "閲囪喘鏃ユ湡") @@ -103,6 +105,10 @@ @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; -- Gitblit v1.9.3