治理文件mq新增
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package com.njcn.mq.message;
|
||||
|
||||
import com.njcn.middle.rocket.domain.BaseMessage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/9/5 16:38
|
||||
*/
|
||||
|
||||
public class AppFileMessage extends BaseMessage {
|
||||
|
||||
@ApiModelProperty("网络设备码")
|
||||
private String id;
|
||||
|
||||
private Integer mid;
|
||||
|
||||
@ApiModelProperty("逻辑设备 治理逻辑设备为1 电能质量设备为2")
|
||||
private Integer did;
|
||||
|
||||
private Integer pri;
|
||||
|
||||
private Integer type;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private AppFileMessage.Msg msg;
|
||||
|
||||
@Data
|
||||
public static class Msg{
|
||||
|
||||
private String type;
|
||||
|
||||
private AppFileMessage.FileInfo fileInfo;
|
||||
|
||||
private String data;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class FileInfo{
|
||||
|
||||
private Long fileTime;
|
||||
|
||||
private Integer fileSize;
|
||||
|
||||
private String fileCheck;
|
||||
|
||||
private String fileChkType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user