CZT
2023-10-24 94b83fc6cab9abf3a5991103580a0161344be6df
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.ld.igds.constant.Constant;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 安防视频监控设备
 *
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年5月27日
 */
@Data
@Entity
@Table(name = "D_SEC_CAMERA")
public class SecCamera implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "ID")
    private String id;
 
    @Column(name = "SN_", length = 50)
    @PropertyDef(label = "设备序列号")
    private String sn;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "设备类型")
    private String type;
 
    @Column(name = "PLAY_TYPE_", length = 40)
    @PropertyDef(label = "播放方式")
    private String playType;
 
    @Column(name = "SNAP_TYPE_", length = 25)
    @PropertyDef(label = "抓拍方式")
    private String snapType;
 
    @Column(name = "spjklx", length = 1)
    @PropertyDef(label = "视频监控类型")
    private String spjklx;
 
    @Column(name = "spdwlx", length = 2)
    @PropertyDef(label = "视频点位类型")
    private String spdwlx;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "名称")
    private String name;
 
    @Column(name = "LOGIN_ID_", length = 20)
    @PropertyDef(label = "帐号")
    private String loginId;
 
    @Column(name = "PWD_", length = 20)
    @PropertyDef(label = "密码")
    private String pwd;
 
    @Column(name = "IP_IN_", length = 20)
    @PropertyDef(label = "内网IP")
    private String ipIn;
 
    @Column(name = "PORT_IN_C_")
    @PropertyDef(label = "内网控制端口")
    private Integer portInC;
 
    @Column(name = "PORT_IN_V_")
    @PropertyDef(label = "内网WEB端口")
    private Integer portInV;
 
    @Column(name = "CHAN_NUM_")
    @PropertyDef(label = "通道号")
    private int chanNum = 0;
 
    @Column(name = "BRAND_", length = 50)
    @PropertyDef(label = "设备品牌")
    private String brand;
 
    @Column(name = "MEDIA_ADDR_", length = 100)
    @PropertyDef(label = "流媒体地址")
    private String mediaAddr;
 
    @Column(name = "PHONE_ADDR_", length = 100)
    @PropertyDef(label = "手机直播地址")
    private String phoneAddr;
 
    @Column(name = "REMARK_", length = 300)
    @PropertyDef(label = "备注")
    private String remark;
 
    @PropertyDef(label = "页面中的坐标")
    @Column(name = "POS_X_", updatable = false)
    private double posX;
 
    @PropertyDef(label = "页面中的坐标")
    @Column(name = "POS_Y_", updatable = false)
    private double posY;
 
    @Column(name = "SCREEN_SHOW_", length = 1)
    @PropertyDef(label = "大屏显示标记")
    private String screenShow = Constant.YN_N;
 
    @Column(name = "SNAP_TAG_", length = 1)
    @PropertyDef(label = "监管自动抓拍")
    private String snapTag = Constant.YN_N;
 
    @Column(name = "UPDATE_TIME_", length = 1)
    @PropertyDef(label = "更新时间")
    private Date updateTime;
 
    public int getChanNum() {
        return chanNum;
    }
 
    public void setChanNum(int chanNum) {
        this.chanNum = chanNum;
    }
 
 
}