package org.dromara.domain.vo;

import java.util.Date;

import org.dromara.domain.SenMonitorPointMedia;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 监控点位视频媒介视图对象 sen_monitor_point_media
 *
 * @author luogang
 * @date 2024-09-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SenMonitorPointMedia.class)
public class SenMonitorPointMediaVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 监控点id
     */
    @ExcelProperty(value = "监控点id")
    private Long pointId;

    /**
     * 视频类型（1-实时视频2-离线视频）
     */
    @ExcelProperty(value = "视频类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "video_type")
    private String videoType;

    /**
     * 设备编号
     */
    @ExcelProperty(value = "设备编号")
    private String deviceNo;

    /**
     * 实时流地址
     */
    @ExcelProperty(value = "实时流地址")
    private String streamUrl;

    /**
     * 离线视频名称
     */
    @ExcelProperty(value = "离线视频名称")
    private String fileName;

    /**
     * 离线视频存储路径
     */
    @ExcelProperty(value = "离线视频存储路径")
    private String filePath;

    /**
     * 离线视频校准时间
     */
    @ExcelProperty(value = "离线视频校准时间")
    private Date adjustTime;


}
