peng
2026-03-18 e59a0201057ba67cad425fed804c82ff4ba0c6f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.tievd.jyz.mqtt.dto;
 
import lombok.Data;
 
/**
 * 事件资源实体
 * @author timi
 */
@Data
public class EventResourceDTO {
    /** 资源类型,img:图片;video:视频;all:图片视频都有 */
    private String sourceType;
    /** 事件唯一标识 */
    private String eventCode;
    /** 终端编码 */
    private String cameraCode;
    
    private String algCode;
 
    /** 图片存储路径,bucket:key */
    private String imgPath;
    /** 短视频存储路径,bucket:key */
    private String videoPath;
 
    public EventResourceDTO(String sourceType, String eventCode, String cameraCode) {
        this.sourceType = sourceType;
        this.eventCode = eventCode;
        this.cameraCode = cameraCode;
    }
 
    public EventResourceDTO() {
    }
}