package com.ruoyi.system.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 设备信息对象 sys_device
 */
public class SysDevice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long deviceId;

    /** 设备名称 */
    private String deviceName;

    /** 设备唯一编码/SN */
    private String deviceSn;

    /** 设备类型 */
    private String deviceType;

    /** 设备状态（0停用 1启用） */
    private String status;

    /** 归属用户名 */
    private String ownerName;

    /** 最近连接时间 */
    private Date lastConnectedAt;

    public Long getDeviceId() {
        return deviceId;
    }

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

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

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

    public String getDeviceType() {
        return deviceType;
    }

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

    public String getStatus() {
        return status;
    }

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

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public Date getLastConnectedAt() {
        return lastConnectedAt;
    }

    public void setLastConnectedAt(Date lastConnectedAt) {
        this.lastConnectedAt = lastConnectedAt;
    }
}
