package cn.gistack.by.waterdata.pojo.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import org.springblade.core.mp.base.BaseEntity;
|
|
import java.util.Date;
|
|
/**
|
* 数据库表实例对象
|
*/
|
@TableName("water_data_distance")
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
public class DistanceRecord extends BaseEntity {
|
/**
|
* 外键,station_id
|
*/
|
@TableField(value = "station_id")
|
private int stationId;
|
/**
|
* station名称
|
*/
|
@TableField(value = "station_name")
|
private String stationName;
|
/**
|
* 外键,device_id
|
*/
|
@TableField(value = "device_id")
|
private int deviceId;
|
/**
|
* 设备名称
|
*/
|
@TableField(value = "device_name")
|
private String deviceName;
|
/**
|
* 设备编号。 报文中的遥测站地址
|
*/
|
@TableField(value = "device_no")
|
private String deviceNo;
|
/**
|
* 接收类型, 4G或者北斗
|
*/
|
@TableField(value = "receive_type")
|
private int receiveType;
|
/**
|
* 记录入库时间
|
*/
|
@TableField(value = "create_at")
|
private Date createAt;
|
/**
|
* 观测时间
|
*/
|
@TableField(value = "ob_time")
|
private String obTime;
|
@TableField(value = "ob_date")
|
private Date obDate;
|
/**
|
* 点位顺序
|
*/
|
private String order;
|
/**
|
* 点位距离. 为了防止精度问题,入库的时候直接按照字符串的类型入库
|
*/
|
private double distance;
|
/**
|
* 通道1信号强度
|
*/
|
@TableField(value = "channel1_signal_strength")
|
private String channel1SignalStrength;
|
/**
|
* 电源电压。为了防止精度问题,入库的时候直接按照字符串的类型入库
|
*/
|
@TableField(value = "power_voltage")
|
private double powerVoltage;
|
}
|