package com.iailab.module.data.mq.consumer;
|
|
import com.iailab.framework.mq.common.RoutingConstant;
|
import com.iailab.module.data.video.dto.ImageDTO;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
@Data
|
public class ImageMessage implements Serializable {
|
|
public static final String EXCHANGE = "data-server-image-exchange";
|
|
public static final String ROUTING_KEY = RoutingConstant.Iailab_Data_Image;
|
|
public static final String DAHUA_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Dahua;
|
|
public static final String HIKVISION_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Hikvision;
|
|
private String messageId;
|
|
private String createTime;
|
|
private ImageDTO imageDTO;
|
|
@Override
|
public String toString() {
|
return "ImageMessage{" +
|
"messageId='" + messageId + '\'' +
|
", createTime='" + createTime + '\'' +
|
", imageDTO=" + imageDTO +
|
'}';
|
}
|
}
|