| | |
| | | package com.ruoyi.device.camera.domain; |
| | | |
| | | import com.lzhpo.sensitive.SensitiveStrategy; |
| | | import com.lzhpo.sensitive.annocation.Sensitive; |
| | | import com.ruoyi.device.channel.domain.ArdChannel; |
| | | import com.sun.jna.Structure; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 相机设备对象 ard_cameras |
| | |
| | | @NoArgsConstructor |
| | | public class ArdCameras extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public ArdCameras(String gdtype) |
| | | { |
| | | this.gdtype=gdtype; |
| | | } |
| | | /** |
| | | * id |
| | | */ |
| | |
| | | * 密码 |
| | | */ |
| | | @Excel(name = "密码") |
| | | @Sensitive(strategy = SensitiveStrategy.PASSWORD) |
| | | private String password; |
| | | |
| | | /** |
| | | * 光电类型 |
| | | * 0-小光电 1-大光电 2-终端NVR 3-超脑 |
| | | */ |
| | | @Excel(name = "光电类型") |
| | | private String gdtype; |
| | | |
| | | /** |
| | | * 通道号 |
| | | * 厂商 |
| | | */ |
| | | @Excel(name = "通道号") |
| | | private Integer channel; |
| | | @Excel(name = "厂商") |
| | | private String factory; |
| | | |
| | | /** |
| | | * 经度 |
| | |
| | | * 部门ID |
| | | */ |
| | | @Excel(name = "部门ID") |
| | | private Integer deptId; |
| | | private Long deptId; |
| | | |
| | | /** |
| | | * 方位角 |
| | |
| | | */ |
| | | @Excel(name = "视场角") |
| | | private Double camFov; |
| | | |
| | | /** |
| | | * 最大可视距离 |
| | | */ |
| | | @Excel(name = "最大可视距离") |
| | | private Double camMaxVisibleDistance; |
| | | /** 相机报警引导开关 */ |
| | | @Excel(name = "相机报警引导开关") |
| | | private Integer camAlarmGuideEnable; |
| | | /** |
| | | * 所属塔ID |
| | | */ |
| | | private String towerId; |
| | | |
| | | /** |
| | | * 登录ID |
| | | */ |
| | | private Integer loginId; |
| | | private Long loginId; |
| | | /** |
| | | * 在线状态 0-离线 1-在线 |
| | | */ |
| | | private String state; |
| | | private String operatorId; |
| | | private Date operatorExpired; |
| | | /** |
| | | * 通道号 |
| | | */ |
| | | private Integer chanNo; |
| | | /** |
| | | * 起始通道号 |
| | | */ |
| | | private Integer startChan; |
| | | /** |
| | | * 通道数 |
| | | */ |
| | | @Excel(name = "通道数") |
| | | private Integer chanNum; |
| | | /** |
| | | * 通道 |
| | | */ |
| | | private List<ArdChannel> channelList; |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | return id.hashCode(); |
| | | } |
| | | @Override |
| | | public boolean equals(Object obj) { |
| | | if (obj instanceof ArdCameras){ |
| | | return id.equals(((ArdCameras)obj).getId()); |
| | | }else { |
| | | return false; |
| | | } |
| | | } |
| | | } |