package com.topsail.influxdb.entity;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@Builder
|
|
public class DeviceLogData {
|
|
/**
|
|
* 所属公司id
|
|
*/
|
|
private Integer companyId;
|
|
private Integer id;
|
|
private Integer supplierId;
|
|
private String supplierName;
|
|
private String imei; // 设备imei号
|
|
private String operation; // 操作
|
|
private String params; // 参数
|
|
private String operator; // 操作人
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date createtime; // 创建时间
|
|
private String result; // 接口下发结果
|
|
private String statusIssue; // 命令是否生效结果
|
|
private String targetValue; // 目标值
|
|
private String feedbackValue; // 反馈值
|
|
/**
|
|
* 设备绑定信息
|
|
*/
|
|
private String deviceBelongInfo;
|
|
/**
|
|
* 房屋id
|
|
*/
|
|
private Integer houseId;
|
|
}
|