/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.sxkj.fw.device.vo;
|
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.Getter;
|
import org.sxkj.system.cache.SysCache;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
/**
|
* 设备表 视图实体类
|
*
|
* @author aix
|
* @since 2026-01-08
|
*/
|
@Data
|
@Getter
|
public class CockpitFwDeviceVO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty(value = "主键")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
@ApiModelProperty(value = "设备序列号")
|
private String deviceSn;
|
|
/**
|
* 设备名称
|
*/
|
@ApiModelProperty(value = "设备名称")
|
private String deviceName;
|
/**
|
* 设备类型(察打一体/便捷侦测箱/反制枪)
|
*/
|
@ApiModelProperty(value = "设备类型(察打一体/便捷侦测箱/反制枪)")
|
private String deviceType;
|
/**
|
* 设备属性(无线电/光电/雷达)
|
*/
|
@ApiModelProperty(value = "设备属性(无线电/光电/雷达)")
|
private String deviceAtt;
|
/**
|
* 型号
|
*/
|
@ApiModelProperty(value = "型号")
|
private String deviceModel;
|
/**
|
* 规格
|
*/
|
@ApiModelProperty(value = "规格")
|
private String deviceSpecification;
|
/**
|
* 生产厂商
|
*/
|
@ApiModelProperty(value = "生产厂商")
|
private String manufacturer;
|
/**
|
* 来源
|
*/
|
@ApiModelProperty(value = "来源")
|
private String source;
|
/**
|
* 用途
|
*/
|
@ApiModelProperty(value = "用途")
|
private String purpose;
|
/**
|
* 所属部门
|
*/
|
@ApiModelProperty(value = "所属部门id")
|
private Long belongDept;
|
|
/**
|
* 负责人
|
*/
|
@ApiModelProperty(value = "负责人")
|
private String charger;
|
/**
|
* 联系电话
|
*/
|
@ApiModelProperty(value = "联系电话")
|
private String contactPhone;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
@ApiModelProperty("运行状态(0:在线/1:离线/2:故障/3:报废)")
|
private Integer status;
|
|
@ApiModelProperty("创建时间")
|
private Date createTime;
|
|
/**
|
* 电量百分比 0-100
|
*/
|
@ApiModelProperty(value = "电量百分比 0-100")
|
private Byte batteryPct;
|
/**
|
* 方位角 0-360°
|
*/
|
@ApiModelProperty(value = "方位角 0-360°")
|
private Short azimuth;
|
/**
|
* 俯仰角 -90-+90°
|
*/
|
@ApiModelProperty(value = "俯仰角 -90-+90°")
|
private Short elevation;
|
/**
|
* 侦测目标数量
|
*/
|
@ApiModelProperty(value = "侦测目标数量")
|
private Integer detectTargetCnt;
|
/**
|
* 有效范围 km
|
*/
|
@ApiModelProperty(value = "有效范围 km")
|
private BigDecimal effectiveRangeKm;
|
|
/**
|
* 工作模式:侦测中/信号干扰中/诱导驱离中/待机
|
*/
|
@ApiModelProperty(value = "工作模式:1.侦测中/2.信号干扰中/3.诱导驱离中/4.待机")
|
private String workMode;
|
|
@ApiModelProperty(value = "经度")
|
private Double longitude;
|
|
@ApiModelProperty(value = "纬度")
|
private Double latitude;
|
|
@ApiModelProperty(value = "所属部门名称")
|
public String getBelongDeptName() {
|
if (belongDept == null) {
|
return null;
|
}
|
return SysCache.getDeptName(belongDept);
|
}
|
|
/**
|
* 创建人
|
*/
|
@ApiModelProperty(value = "创建人")
|
private Long createUser;
|
/**
|
* 创建部门
|
*/
|
@ApiModelProperty(value = "创建部门")
|
private Long createDept;
|
/**
|
* 更新人
|
*/
|
@ApiModelProperty(value = "更新人")
|
private Long updateUser;
|
/**
|
* 更新时间
|
*/
|
@ApiModelProperty(value = "更新时间")
|
private Date updateTime;
|
|
|
@ApiModelProperty(value = "区域id")
|
private Long areaDivideId;
|
|
@ApiModelProperty(value = "场景管理id")
|
private Long defenseSceneManageId;
|
}
|