代码提交

This commit is contained in:
huangzj
2023-09-21 15:58:38 +08:00
parent a53561c07f
commit b86cb8ddd8
24 changed files with 336 additions and 27 deletions

View File

@@ -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;
/**
* 起始时间
*/

View File

@@ -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;
}