代码提交
This commit is contained in:
@@ -23,7 +23,10 @@ import java.time.LocalDateTime;
|
||||
@NoArgsConstructor
|
||||
public class CsEquipmentProcessDTO {
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
private String devName;
|
||||
/**
|
||||
* 网络设备ID
|
||||
*/
|
||||
@@ -33,7 +36,7 @@ public class CsEquipmentProcessDTO {
|
||||
* 操作人员
|
||||
*/
|
||||
private String operator;
|
||||
|
||||
private String operatorName;
|
||||
/**
|
||||
* 起始时间
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.csdevice.pojo.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@@ -24,6 +25,7 @@ public class CsEventSendMsgVO {
|
||||
* 用户id
|
||||
*/
|
||||
private String userId;
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 事件id
|
||||
@@ -34,6 +36,7 @@ public class CsEventSendMsgVO {
|
||||
* 推送事件时用户的devCode
|
||||
*/
|
||||
private String devCode;
|
||||
private String deviceId;
|
||||
|
||||
private String devName;
|
||||
|
||||
@@ -53,6 +56,23 @@ public class CsEventSendMsgVO {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
private String tag;
|
||||
private String showName;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 事件类型(0:暂态事件1:稳态事件 2:设备事
|
||||
* 件)
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user