149 lines
2.9 KiB
Java
149 lines
2.9 KiB
Java
|
|
package com.ruoyi.device.mapper.entity;
|
|||
|
|
|
|||
|
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 设备表实体对象 device_device
|
|||
|
|
* Mapper 层实体,对应数据库表
|
|||
|
|
*
|
|||
|
|
* @author ruoyi
|
|||
|
|
* @date 2026-01-16
|
|||
|
|
*/
|
|||
|
|
public class DeviceEntity extends BaseEntity
|
|||
|
|
{
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/** 设备主键 */
|
|||
|
|
private Long deviceId;
|
|||
|
|
|
|||
|
|
/** 设备名称 */
|
|||
|
|
private String deviceName;
|
|||
|
|
|
|||
|
|
/** IOT中的设备ID */
|
|||
|
|
private String iotDeviceId;
|
|||
|
|
|
|||
|
|
/** 设备类型 */
|
|||
|
|
private String deviceType;
|
|||
|
|
|
|||
|
|
/** 设备厂商 */
|
|||
|
|
private String deviceManufacturer;
|
|||
|
|
|
|||
|
|
/** 设备型号 */
|
|||
|
|
private String deviceModel;
|
|||
|
|
|
|||
|
|
/** 设备SN号 */
|
|||
|
|
private String deviceSn;
|
|||
|
|
|
|||
|
|
/** 所属部门主键 */
|
|||
|
|
private Long deptId;
|
|||
|
|
|
|||
|
|
/** 网关 */
|
|||
|
|
private String gateway;
|
|||
|
|
|
|||
|
|
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 getIotDeviceId()
|
|||
|
|
{
|
|||
|
|
return iotDeviceId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setIotDeviceId(String iotDeviceId)
|
|||
|
|
{
|
|||
|
|
this.iotDeviceId = iotDeviceId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getDeviceType()
|
|||
|
|
{
|
|||
|
|
return deviceType;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setDeviceType(String deviceType)
|
|||
|
|
{
|
|||
|
|
this.deviceType = deviceType;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getDeviceManufacturer()
|
|||
|
|
{
|
|||
|
|
return deviceManufacturer;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setDeviceManufacturer(String deviceManufacturer)
|
|||
|
|
{
|
|||
|
|
this.deviceManufacturer = deviceManufacturer;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getDeviceModel()
|
|||
|
|
{
|
|||
|
|
return deviceModel;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setDeviceModel(String deviceModel)
|
|||
|
|
{
|
|||
|
|
this.deviceModel = deviceModel;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getDeviceSn()
|
|||
|
|
{
|
|||
|
|
return deviceSn;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setDeviceSn(String deviceSn)
|
|||
|
|
{
|
|||
|
|
this.deviceSn = deviceSn;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Long getDeptId()
|
|||
|
|
{
|
|||
|
|
return deptId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setDeptId(Long deptId)
|
|||
|
|
{
|
|||
|
|
this.deptId = deptId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getGateway()
|
|||
|
|
{
|
|||
|
|
return gateway;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void setGateway(String gateway)
|
|||
|
|
{
|
|||
|
|
this.gateway = gateway;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@Override
|
|||
|
|
public String toString()
|
|||
|
|
{
|
|||
|
|
return "DeviceEntity{" +
|
|||
|
|
"deviceId=" + deviceId +
|
|||
|
|
", deviceName='" + deviceName + '\'' +
|
|||
|
|
", iotDeviceId='" + iotDeviceId + '\'' +
|
|||
|
|
", deviceType='" + deviceType + '\'' +
|
|||
|
|
", deviceManufacturer='" + deviceManufacturer + '\'' +
|
|||
|
|
", deviceModel='" + deviceModel + '\'' +
|
|||
|
|
", deviceSn='" + deviceSn + '\'' +
|
|||
|
|
", deptId=" + deptId +
|
|||
|
|
", gateway='" + gateway + '\'' +
|
|||
|
|
'}';
|
|||
|
|
}
|
|||
|
|
}
|