jiazx0107@163.com
2023-12-02 5bb3ad3944ff229baff1d8bb92caf55d816ee68b
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;
/**
 * 网关相关的设备管理
@@ -85,9 +87,9 @@
    @Column(name = "PUSH_PROTOCOL_", length = 20)
    private String pushProtocol;
    @PropertyDef(label = "省平台协议")
    @Column(name = "PROVINCE_PROTOCOL_", length = 20)
    private String provinceProtocol;
//    @PropertyDef(label = "省平台协议")
//    @Column(name = "PROVINCE_PROTOCOL_", length = 20)
//    private String provinceProtocol;
    @PropertyDef(label = "同步协议")
    @Column(name = "SYNC_PROTOCOL_", length = 20)
@@ -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;
}