TVideo.java 3.2 KB
package com.skua.modules.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 视频信息
 */
@Data
@TableName("t_video")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="t_video对象", description="视频信息")
public class TVideo {

	/**主键*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
	private String id;
	/**视频画面名称*/
	@Excel(name = "视频画面名称", width = 15)
    @ApiModelProperty(value = "视频画面名称")
	private String videoName;
	/**摄像头UUID*/
	@Excel(name = "摄像头UUID", width = 15)
    @ApiModelProperty(value = "摄像头UUID")
	private String videoCamerauuid;
	/**API网关IP地址*/
	@Excel(name = "API网关IP地址", width = 15)
    @ApiModelProperty(value = "API网关IP地址")
	private String videoIp;
	/**API网关端口*/
	@Excel(name = "API网关端口", width = 15)
    @ApiModelProperty(value = "API网关端口")
	private String videoDk;
	/**是否启用HTTPS协议*/
	@Excel(name = "是否启用HTTPS协议", width = 15)
    @ApiModelProperty(value = "是否启用HTTPS协议")
	private Integer videoHttp;
	/**厂ID*/
	@Excel(name = "构筑物ID", width = 15)
    @ApiModelProperty(value = "构筑物ID")
	//@Dict(dicCode = "id",dictTable="t_video_root",dicText="video_root_name")
	private String structCodeId;
	/**主子码流标识(0 主码流,1 子码流)*/
	@Excel(name = "主子码流标识(0 主码流,1 子码流)", width = 15)
    @ApiModelProperty(value = "主子码流标识(0 主码流,1 子码流)")
	private Integer videoStreammode;
	/**传输协议(1 TCP,0 UDP)*/
	@Excel(name = "传输协议(1 TCP,0 UDP)", width = 15)
    @ApiModelProperty(value = "传输协议(1 TCP,0 UDP)")
	private Integer videoTransmode;
	/**是否启用GPU硬解(0 不启用,1 启用)*/
	@Excel(name = "是否启用GPU硬解(0 不启用,1 启用)", width = 15)
    @ApiModelProperty(value = "是否启用GPU硬解(0 不启用,1 启用)")
	private Integer videoGpumode;

	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@Excel(name = "厂id", width = 15)
	@ApiModelProperty(value = "departId")
	//@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
	private String departId;
	@TableField(exist = false)
	@ApiModelProperty(value = "departName")
	private String departName;
	@TableField(exist = false)
	@ApiModelProperty(value = "areaName")
	private String areaName;
	@ApiModelProperty(value = "videoSort")
	private Integer videoSort;
}