TDetectorInfo.java 5.49 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
package com.zehong.system.domain;

import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 探测器对象 t_detector_info
 * 
 * @author zehong
 * @date 2021-11-02
 */
public class TDetectorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long detectorId;

    /** 企业id */
23
    private String enterpriseId;
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String detectorName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String detectorCode;

    /** 设备地址 */
    @Excel(name = "设备地址")
    private String detectorAddr;

    /** 设备类型(1家用报警器,2工业报警器) */
    @Excel(name = "设备类型", readConverterExp = "1家用报警器,2工业报警器")
    private String detectorType;

    /** 检测介质(1甲烷,2氨气,3一氧化碳,4可燃气体,5有毒气体) */
    @Excel(name = "检测介质", readConverterExp = "1甲烷,2氨气,3一氧化碳,4可燃气体,5有毒气体")
    private String medium;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 物联网编号 */
    @Excel(name = "物联网编号")
    private String iotNo;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkman;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 创建时间 */
    private Date creatTime;

    /** 报警时间 */
    private String alarmTime;

    /** 设备状态(0正常,1离线,2报警) */
    @Excel(name = "设备状态")
    private String detectorStatus;

    /** 是否删除(0正常,1删除) */
    @Excel(name = "是否删除(0正常,1删除)")
    private String isDel;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /**所属设备名称*/
    private String beyondDevicename;

    public String getBeyondDevicename() {
        return beyondDevicename;
    }

    public void setBeyondDevicename(String beyondDevicename) {
        this.beyondDevicename = beyondDevicename;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    /**所属企业名称*/
    private String enterpriseName;

    public void setDetectorId(Long detectorId) 
    {
        this.detectorId = detectorId;
    }

    public Long getDetectorId() 
    {
        return detectorId;
    }

119
    public String getEnterpriseId() {
120 121 122
        return enterpriseId;
    }

123
    public void setEnterpriseId(String enterpriseId) {
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
        this.enterpriseId = enterpriseId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDetectorName(String detectorName) 
    {
        this.detectorName = detectorName;
    }

    public String getDetectorName() 
    {
        return detectorName;
    }
    public void setDetectorCode(String detectorCode) 
    {
        this.detectorCode = detectorCode;
    }

    public String getDetectorCode() 
    {
        return detectorCode;
    }
    public void setDetectorAddr(String detectorAddr) 
    {
        this.detectorAddr = detectorAddr;
    }

    public String getDetectorAddr() 
    {
        return detectorAddr;
    }

    public void setDetectorType(String detectorType) 
    {
        this.detectorType = detectorType;
    }

    public String getDetectorType() 
    {
        return detectorType;
    }
    public void setMedium(String medium) 
    {
        this.medium = medium;
    }

    public String getMedium() 
    {
        return medium;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setIotNo(String iotNo) 
    {
        this.iotNo = iotNo;
    }

    public String getIotNo() 
    {
        return iotNo;
    }
    public void setLinkman(String linkman) 
    {
        this.linkman = linkman;
    }

    public String getLinkman() 
    {
        return linkman;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getAlarmTime() {
        return alarmTime;
    }

    public void setAlarmTime(String alarmTime) {
        this.alarmTime = alarmTime;
    }

    public void setIsDel(String isDel)
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    public String getDetectorStatus() {
        return detectorStatus;
    }

    public void setDetectorStatus(String detectorStatus) {
        this.detectorStatus = detectorStatus;
    }

    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
}