TVideo.java
3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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;
}