Files
rtsp-video-analysis-system/ruoyi-video/src/main/java/com/ruoyi/video/domain/InspectionTask.java

133 lines
2.7 KiB
Java
Raw Normal View History

package com.ruoyi.video.domain;
import java.util.Date;
/**
2025-09-30 14:23:33 +08:00
* 巡检任务实体类
*/
2025-09-30 14:23:33 +08:00
public class InspectionTask {
/** 巡检任务ID */
private Long taskId;
2025-09-30 14:23:33 +08:00
/** 设备ID */
private Long deviceId;
2025-09-30 14:23:33 +08:00
/** 巡检时长(秒) */
private Integer duration;
2025-09-30 14:23:33 +08:00
/** 视频对象存储ID */
private Long videoOssId;
/** 处理后视频对象存储ID */
private Long processedVideoOssId;
/** 视频状态(0-未录制,1-已录制未分析,2-已分析) */
private Integer videoStatus;
/** 任务状态(0-待执行,1-执行中,2-已完成) */
private Integer status;
/** 创建时间 */
private Date createTime;
/** 更新时间 */
private Date updateTime;
/** 备注 */
private String remark;
public Long getTaskId() {
return taskId;
}
2025-09-30 14:23:33 +08:00
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
2025-09-30 14:23:33 +08:00
public Long getDeviceId() {
return deviceId;
}
2025-09-30 14:23:33 +08:00
public void setDeviceId(Long deviceId) {
this.deviceId = deviceId;
}
2025-09-30 14:23:33 +08:00
public Integer getDuration() {
return duration;
}
2025-09-30 14:23:33 +08:00
public void setDuration(Integer duration) {
this.duration = duration;
}
2025-09-30 14:23:33 +08:00
public Long getVideoOssId() {
return videoOssId;
}
2025-09-30 14:23:33 +08:00
public void setVideoOssId(Long videoOssId) {
this.videoOssId = videoOssId;
}
2025-09-30 14:23:33 +08:00
public Long getProcessedVideoOssId() {
return processedVideoOssId;
}
2025-09-30 14:23:33 +08:00
public void setProcessedVideoOssId(Long processedVideoOssId) {
this.processedVideoOssId = processedVideoOssId;
}
2025-09-30 14:23:33 +08:00
public Integer getVideoStatus() {
return videoStatus;
}
2025-09-30 14:23:33 +08:00
public void setVideoStatus(Integer videoStatus) {
this.videoStatus = videoStatus;
}
2025-09-30 14:23:33 +08:00
public Integer getStatus() {
return status;
}
2025-09-30 14:23:33 +08:00
public void setStatus(Integer status) {
this.status = status;
}
2025-09-30 14:23:33 +08:00
public Date getCreateTime() {
return createTime;
}
2025-09-30 14:23:33 +08:00
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
2025-09-30 14:23:33 +08:00
public Date getUpdateTime() {
return updateTime;
}
2025-09-30 14:23:33 +08:00
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
2025-09-30 14:23:33 +08:00
public String getRemark() {
return remark;
}
2025-09-30 14:23:33 +08:00
public void setRemark(String remark) {
this.remark = remark;
}
2025-09-30 14:23:33 +08:00
/**
* 获取ID的兼容方法保持与原有代码兼容
*/
public Long getId() {
return taskId;
}
/**
* 设置ID的兼容方法保持与原有代码兼容
*/
public void setId(Long id) {
this.taskId = id;
}
}