/*
|
* 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.gd.workorder.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import org.springblade.core.mp.base.BaseEntity;
|
import org.sxkj.gd.config.GeometryTypeHandler;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 设备信息 实体类
|
*
|
* @author lw
|
* @since 2026-01-14
|
*/
|
@Data
|
// @TableName("ja_gd_manage_device")
|
@TableName(value = "ja_gd_manage_device",autoResultMap = true)
|
@ApiModel(value = "设备信息表", description = "设备信息")
|
@EqualsAndHashCode(callSuper = true)
|
public class GdManageDeviceEntity extends BaseEntity {
|
|
/**
|
* 设备编码
|
*/
|
@ApiModelProperty(value = "设备编码")
|
private String deviceSn;
|
/**
|
* 设备型号
|
*/
|
@ApiModelProperty(value = "设备型号")
|
private String deviceName;
|
/**
|
* 设备昵称
|
*/
|
@ApiModelProperty(value = "设备昵称")
|
private String nickname;
|
/**
|
* 设备类型(0机场,1无人机)
|
*/
|
@ApiModelProperty(value = "设备类型(0机场,1无人机)")
|
private Integer deviceType;
|
/**
|
* 设备负载(红外,喇叭,闪光灯)
|
*/
|
@ApiModelProperty(value = "设备负载(红外,喇叭,闪光灯)")
|
private String devicePayload;
|
/**
|
* 当前经度
|
*/
|
@ApiModelProperty(value = "当前经度")
|
private Double longitude;
|
/**
|
* 当前纬度
|
*/
|
@ApiModelProperty(value = "当前纬度")
|
private Double latitude;
|
/**
|
* 固件版本
|
*/
|
@ApiModelProperty(value = "固件版本")
|
private String firmwareVersion;
|
/**
|
* 子设备(一般用途是机场下面的无人机)
|
*/
|
@ApiModelProperty(value = "子设备(一般用途是机场下面的无人机)")
|
private String childSn;
|
/**
|
* 设备状态:{0:"在线",1:"离线"}
|
*/
|
@ApiModelProperty(value = "设备状态:{0:\"在线\",1:\"离线\"}")
|
private Long modeCode;
|
/**
|
* 保险过期时间
|
*/
|
@ApiModelProperty(value = "保险过期时间")
|
private Date insureExpiredTime;
|
/**
|
* 剩余流量(单位:GB)
|
*/
|
@ApiModelProperty(value = "剩余流量(单位:GB)")
|
private BigDecimal trafficRemaining;
|
/**
|
* 流量到期时间
|
*/
|
@ApiModelProperty(value = "流量到期时间")
|
private Date trafficExpireTime;
|
|
/**
|
* 5公里范围面数据
|
*/
|
@ApiModelProperty(value = "5公里范围面数据")
|
@TableField(typeHandler = GeometryTypeHandler.class)
|
private String geom;
|
|
}
|