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() {
|
}
|
}
|