指挥中心预警接口对接开发

This commit is contained in:
lvys 2025-06-20 22:19:15 +08:00
parent 8e4feaaf4e
commit ef00e90cf2
2 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,39 @@
package com.dkl.large.domain;
import com.dkl.common.core.domain.BaseEntity;
import lombok.Data;
/**
* Kafka 消息实体对应 ifaas-tpd-scence 主题的消息体
*/
@Data
public class KafkaMessage extends BaseEntity {
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** 算法名称 */
private String argName;
/** 摄像头国标码 */
private String cameraCode;
/** 设备名称 */
private String cameraName;
/** 事件名称 */
private String eventName;
/** 事件大图地址 */
private String imageUrl;
/** 摄像头安装地址 */
private String installSite;
/** 删除标志0代表存在 2代表删除 */
private String delFlag;
}

View File

@ -0,0 +1,102 @@
package com.dkl.large.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.dkl.common.annotation.Excel;
import com.dkl.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* VideoStorageInformation对象 video_storage_information
*
* @author JK
* @date 2025-05-30
*/
@Data
public class VideoStorageInformation extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** */
private int id;
/** 名称 */
@Excel(name = "名称")
private String name;
/** 类型 */
// @Excel(name = "类型")
private String types;
@Excel(name = "类型")
private String typesName;
/** 分辨率 */
//@Excel(name = "分辨率")
private String resolution;
/** 时长 */
// @Excel(name = "时长")
private String duration;
/** 设备 */
// @Excel(name = "设备")
private String deviceId;
/** 产品id */
private String productId;
/** 通道号 */
// @Excel(name = "通道号")
private String channelNumber;
/** 文件地址 */
@Excel(name = "文件地址")
private String filePath;
/** 备用 */
private String standby;
/** 备用1 */
private String standby1;
/** 备用2 */
private String standby2;
/** 活动id */
private int activityId;
/** 删除状态 */
private String delFlag;
/** 地址 */
@Excel(name = "地址")
private String address;
/** 经度 */
@Excel(name = "经度")
private String lng;
/** 纬度 */
@Excel(name = "纬度")
private String lat;
/** 部门id */
private Long deptId;
@Excel(name = "活动名称")
private String activityName;
/** 开始时间 */
@TableField(exist = false)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
/** 结束时间 */
@TableField(exist = false)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
}