liusuyi
2026-01-16 05f799b8a5ce57b1f98dc5f8ab08308c32a6ec63
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.ard.device.camera.domain;
 
import com.ard.common.annotation.Excel;
import com.ard.common.core.domain.BaseEntity;
import com.ard.device.channel.domain.ArdChannel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
 
/**
 * 相机设备对象 ard_camera
 *
 * @author 刘苏义
 * @date 2023-02-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ArdCamera extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    public ArdCamera(String type) {
        this.type = type;
    }
 
    /**
     * id
     */
    @Excel(name = "id")
    private String id;
 
    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;
 
    /**
     * ip
     */
    @Excel(name = "ip")
    private String ip;
 
    /**
     * 端口
     */
    @Excel(name = "端口")
    private Integer port;
 
    /**
     * rtsp端口
     */
    @Excel(name = "rtsp端口")
    private Integer rtspPort;
 
    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String username;
 
    /**
     * 密码
     */
    @Excel(name = "密码")
    private String password;
 
    /**
     * 类型
     * 0-小光电 1-大光电 2-终端NVR 3-超脑
     */
    @Excel(name = "类型")
    private String type;
 
    /**
     * 厂商
     */
    @Excel(name = "厂商")
    private String factory;
 
    /**
     * 经度
     */
    @Excel(name = "经度")
    private Double longitude;
 
    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private Double latitude;
 
    /**
     * 高层
     */
    @Excel(name = "高层")
    private Double altitude;
 
    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;
 
    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;
 
 
    /**
     * 登录ID
     */
    private Long loginId;
 
    /**
     * 在线状态 0-离线 1-在线
     */
    private String state;
 
    /**
     * 起始通道号
     */
    private Integer startChan;
 
    /**
     * 通道数
     */
    @Excel(name = "通道数")
    private Integer chanNum;
 
    /**
     * 通道
     */
    private List<ArdChannel> channelList;
 
    /**
     * 通道号
     */
    private Integer chanNo;
 
 
    /**
     * 挂载机场ID
     */
    @Excel(name = "挂载机场")
    private Integer dockId;
 
    @Override
    public int hashCode() {
        return id.hashCode();
    }
 
    @Override
    public boolean equals(Object obj) {
        if (obj instanceof ArdCamera) {
            return id.equals(((ArdCamera) obj).getId());
        } else {
            return false;
        }
    }
}