package com.ruoyi.aibrain.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * AI视频文件对象 ai_video_file * * @author wf * @date 2023-03-08 */ public class AiVideoFile extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键 */ private Long id; /** 录像设备id */ @Excel(name = "录像设备id") private String cameraId; /** 录像区域 */ @Excel(name = "录像区域") private String region; /** 录像类型 h历史视频 e报警片段 */ @Excel(name = "录像类型") private String videoType; /** 文件名称 */ @Excel(name = "文件名称") private String fileName; /** 附件路径 */ @Excel(name = "附件路径") private String filePath; /** 视频日期(2020-01-01) */ @Excel(name = "视频日期(2020-01-01)") private String videoDate; /** 视频时间(24小时制)00-23 */ @Excel(name = "视频时间", readConverterExp = "2=4小时制") private String videoTime; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") private Date createDate; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setCameraId(String cameraId) { this.cameraId = cameraId; } public String getCameraId() { return cameraId; } public void setRegion(String region) { this.region = region; } public String getRegion() { return region; } public void setVideoType(String videoType) { this.videoType = videoType; } public String getVideoType() { return videoType; } public void setFileName(String fileName) { this.fileName = fileName; } public String getFileName() { return fileName; } public void setFilePath(String filePath) { this.filePath = filePath; } public String getFilePath() { return filePath; } public void setVideoDate(String videoDate) { this.videoDate = videoDate; } public String getVideoDate() { return videoDate; } public void setVideoTime(String videoTime) { this.videoTime = videoTime; } public String getVideoTime() { return videoTime; } public void setCreateDate(Date createDate) { this.createDate = createDate; } public Date getCreateDate() { return createDate; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("cameraId", getCameraId()) .append("region", getRegion()) .append("videoType", getVideoType()) .append("fileName", getFileName()) .append("filePath", getFilePath()) .append("videoDate", getVideoDate()) .append("videoTime", getVideoTime()) .append("createDate", getCreateDate()) .toString(); } }