林颖晨 2 years ago
commit 92aeeee3f7
  1. 76
      psdc-business/src/main/java/com/psdc/entity/PsdcDevice.java
  2. 25
      psdc-business/src/main/java/com/psdc/entity/PsdcScene.java

@ -4,74 +4,34 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import java.io.Serializable; import java.util.Date;
/**
* @author : stone
* @date : 2023-4-23
*/
@Data @Data
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
/** public class PsdcDevice {
* 设备信息表
*
* @author stone
*/
public class PsdcDevice implements Serializable {
private static final long serialVersionUID = 1L;
/** private long deviceId;
* 设备id private long userId;
*/ private long deviceType;
private Integer deviceId;
/**
* 用户id
*/
private Integer userId;
/**
* 设备类型1-监测设备2-运行设备
*/
private Integer deviceType;
/**
* 设备sn
*/
private String deviceSn; private String deviceSn;
/**
* 设备名称
*/
private String deviceName; private String deviceName;
/**
* 硬件版本
*/
private String hardVersion; private String hardVersion;
/**
* 软件版本
*/
private String softVersion; private String softVersion;
/** 安装地址 */ private String deviceAddress;
private String deviceAddress ; private String startTime;
/** 启用时间 */ private long deviceStatus;
private String startTime ; private long deviceRunstatus;
/**
* 设备状态1-未激活2-禁用3-在线4-离线
*/
private Integer deviceStatus;
/**
* 图片地址
*/
private String photoUrl; private String photoUrl;
/**
* 创建者
*/
private String createBy; private String createBy;
/** private Date createTime;
* 创建时间
*/
private String createTime;
/**
* 修改者
*/
private String updateBy; private String updateBy;
/** private Date updateTime;
* 修改时间
*/
private String updateTime;
} }

@ -0,0 +1,25 @@
package com.psdc.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author : stone
* @date : 2023-4-23
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PsdcScene {
private long scene;
private String sceneName;
private long deviceId;
private String deviceSn;
private String sceneKey;
private String sceneValue;
}
Loading…
Cancel
Save