From 5bb3ad3944ff229baff1d8bb92caf55d816ee68b Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期六, 02 十二月 2023 18:34:45 +0800 Subject: [PATCH] 提交粮情协议1 --- src/main/java/com/fzzy/gateway/entity/GatewayDevice.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java index 1e7320a..9d34078 100644 --- a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java +++ b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java @@ -2,11 +2,13 @@ import com.bstek.dorado.annotation.PropertyDef; +import com.fzzy.api.Constant; import lombok.Data; import javax.persistence.*; import java.io.Serializable; +import java.util.Date; /** * 缃戝叧鐩稿叧鐨勮澶囩鐞� @@ -101,10 +103,13 @@ @PropertyDef(label = "缁勭粐缂栫爜") private String orgId; + @Column(name = "POSITION_", length = 40) + @PropertyDef(label = "浣嶇疆") + private String position; + @Column(name = "REMARK_", length = 200) @PropertyDef(label = "澶囨敞", description = "澶囨敞淇℃伅") private String remark; - @Column(name = "CABLE_RULE_", length = 20) @PropertyDef(label = "甯冪嚎瑙勫垯", description = "骞虫柟浠撹〃绀哄眰琛屽垪锛岀瓛浠撹〃绀烘瘡鍦堢殑鍒楁暟") @@ -114,4 +119,12 @@ @PropertyDef(label = "绛掍粨灞傝鍒�", description = "閽堝绛掍粨") private String cableCir; + @Transient + @PropertyDef(label = "璁惧鍦ㄧ嚎鐘舵��") + private String status = Constant.YN_N; + + @Transient + @PropertyDef(label = "璁惧涓婄嚎鏃堕棿") + private Date onlineTime; + } -- Gitblit v1.9.3