提交 | 用户 | 时间
191b3d 1 package com.iailab.module.data.mq.consumer;
H 2
3 import com.iailab.framework.mq.common.RoutingConstant;
4 import com.iailab.module.data.video.dto.ImageDTO;
5 import lombok.Data;
6
7 import java.io.Serializable;
8
9 @Data
10 public class ImageMessage implements Serializable {
11
21dc7e 12     public static final String EXCHANGE = "data-server-image-exchange";
191b3d 13
H 14     public static final String ROUTING_KEY = RoutingConstant.Iailab_Data_Image;
15
16     public static final String DAHUA_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Dahua;
17
18     public static final String HIKVISION_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Hikvision;
19
20     private String messageId;
21
22     private String createTime;
23
24     private ImageDTO imageDTO;
25
26     @Override
27     public String toString() {
28         return "ImageMessage{" +
29                 "messageId='" + messageId + '\'' +
30                 ", createTime='" + createTime + '\'' +
31                 ", imageDTO=" + imageDTO +
32                 '}';
33     }
34 }