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; /** * 网关相关的设备管理 @@ -117,4 +119,12 @@ @PropertyDef(label = "筒仓层规则", description = "针对筒仓") private String cableCir; @Transient @PropertyDef(label = "设备在线状态") private String status = Constant.YN_N; @Transient @PropertyDef(label = "设备上线时间") private Date onlineTime; }