package com.ruoyi.device.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 首页调试宝设备卡片
 *
 * @author lwm
 */
public class TsbDeviceHomeVo
{
    /** 设备信息 */
    private Long deviceId;
    private String imei;
    private String deviceType;
    private Long deviceSn;
    private String status;

    /** 部门信息 */
    private Long deptId;
    private String deptName;

    /** 绑定用户 */
    private Long bindUserId;
    private String bindUserName;
    private String bindNickName;

    /** MQTT 登录状态（0离线 1在线） */
    private Integer lineStatus;
    /** MQTT 登录用户名 */
    private String onlineUserName;
    /** 心跳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date heartbeatTime;

    public Long getDeviceId()
    {
        return deviceId;
    }

    public void setDeviceId(Long deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getImei()
    {
        return imei;
    }

    public void setImei(String imei)
    {
        this.imei = imei;
    }

    public String getDeviceType()
    {
        return deviceType;
    }

    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }

    public Long getDeviceSn()
    {
        return deviceSn;
    }

    public void setDeviceSn(Long deviceSn)
    {
        this.deviceSn = deviceSn;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptName()
    {
        return deptName;
    }

    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public Long getBindUserId()
    {
        return bindUserId;
    }

    public void setBindUserId(Long bindUserId)
    {
        this.bindUserId = bindUserId;
    }

    public String getBindUserName()
    {
        return bindUserName;
    }

    public void setBindUserName(String bindUserName)
    {
        this.bindUserName = bindUserName;
    }

    public String getBindNickName()
    {
        return bindNickName;
    }

    public void setBindNickName(String bindNickName)
    {
        this.bindNickName = bindNickName;
    }

    public Integer getLineStatus()
    {
        return lineStatus;
    }

    public void setLineStatus(Integer lineStatus)
    {
        this.lineStatus = lineStatus;
    }

    public String getOnlineUserName()
    {
        return onlineUserName;
    }

    public void setOnlineUserName(String onlineUserName)
    {
        this.onlineUserName = onlineUserName;
    }

    public Date getHeartbeatTime()
    {
        return heartbeatTime;
    }

    public void setHeartbeatTime(Date heartbeatTime)
    {
        this.heartbeatTime = heartbeatTime;
    }
}
