You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.7 KiB
76 lines
1.7 KiB
package com.psdc.entity;
|
|
|
|
import com.psdc.annotation.Excel;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
* @author : stone
|
|
* @date : 2023-4-23
|
|
*/
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class PsdcDevice {
|
|
|
|
/** 设备id */
|
|
@Excel(name = "设备Id", cellType = Excel.ColumnType.NUMERIC)
|
|
private Integer deviceId ;
|
|
/** 父设备Id */
|
|
private Integer parentId;
|
|
/** 用户id */
|
|
private Integer userId ;
|
|
/** 设备是否可控 */
|
|
private Integer isControl;
|
|
|
|
/** 设备类型:1-监测设备,2-运行设备 */
|
|
private Integer deviceType ;
|
|
/** 设备名称 */
|
|
@Excel(name = "设备名称")
|
|
private String deviceName ;
|
|
/** 设备sn */
|
|
@Excel(name = "设备Sn")
|
|
private String deviceSn ;
|
|
/** 硬件版本 */
|
|
@Excel(name = "硬件版本")
|
|
private String hardVersion ;
|
|
/** 软件版本 */
|
|
@Excel(name = "软件版本")
|
|
private String softVersion ;
|
|
/** 安装地址 */
|
|
@Excel(name = "安装地址")
|
|
private String deviceAddress ;
|
|
/** 启用时间 */
|
|
@Excel(name = "启用时间")
|
|
private String startTime ;
|
|
/** 设备模型 */
|
|
@Excel(name = "设备模型")
|
|
private String deviceModel;
|
|
|
|
/** 设备状态:1-未激活,2-禁用,3-在线,4-离线 */
|
|
private Integer deviceStatus ;
|
|
/** 图片地址 */
|
|
private String photoUrl ;
|
|
/** 创建者 */
|
|
private String createBy ;
|
|
/** 创建时间 */
|
|
private Date createTime ;
|
|
/** 修改者 */
|
|
private String updateBy ;
|
|
/** 修改时间 */
|
|
private Date updateTime ;
|
|
|
|
/** 设备模型可控元素集合 */
|
|
private List<Map> control_elements;
|
|
|
|
/** 设备运行状态:1-开启,2-关闭 */
|
|
private Integer deviceRunstatus ;
|
|
|
|
|
|
}
|
|
|