package com.flightfeather.uav.domain.entity;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import javax.persistence.*;
|
|
@Table(name = "air_real_time_data")
|
public class RealTimeData {
|
@Id
|
private Integer id;
|
|
@Column(name = "device_code")
|
private String deviceCode;
|
|
private BigDecimal latitude;
|
|
private BigDecimal longitude;
|
|
private Float altitude;
|
|
private Float height;
|
|
@Column(name = "data_time")
|
private Date dataTime;
|
|
@Column(name = "create_time")
|
private Date createTime;
|
|
private String factors;
|
|
/**
|
* @return id
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* @param id
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* @return device_code
|
*/
|
public String getDeviceCode() {
|
return deviceCode;
|
}
|
|
/**
|
* @param deviceCode
|
*/
|
public void setDeviceCode(String deviceCode) {
|
this.deviceCode = deviceCode == null ? null : deviceCode.trim();
|
}
|
|
/**
|
* @return latitude
|
*/
|
public BigDecimal getLatitude() {
|
return latitude;
|
}
|
|
/**
|
* @param latitude
|
*/
|
public void setLatitude(BigDecimal latitude) {
|
this.latitude = latitude;
|
}
|
|
/**
|
* @return longitude
|
*/
|
public BigDecimal getLongitude() {
|
return longitude;
|
}
|
|
/**
|
* @param longitude
|
*/
|
public void setLongitude(BigDecimal longitude) {
|
this.longitude = longitude;
|
}
|
|
/**
|
* @return altitude
|
*/
|
public Float getAltitude() {
|
return altitude;
|
}
|
|
/**
|
* @param altitude
|
*/
|
public void setAltitude(Float altitude) {
|
this.altitude = altitude;
|
}
|
|
/**
|
* @return height
|
*/
|
public Float getHeight() {
|
return height;
|
}
|
|
/**
|
* @param height
|
*/
|
public void setHeight(Float height) {
|
this.height = height;
|
}
|
|
/**
|
* @return data_time
|
*/
|
public Date getDataTime() {
|
return dataTime;
|
}
|
|
/**
|
* @param dataTime
|
*/
|
public void setDataTime(Date dataTime) {
|
this.dataTime = dataTime;
|
}
|
|
/**
|
* @return create_time
|
*/
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* @param createTime
|
*/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* @return factors
|
*/
|
public String getFactors() {
|
return factors;
|
}
|
|
/**
|
* @param factors
|
*/
|
public void setFactors(String factors) {
|
this.factors = factors == null ? null : factors.trim();
|
}
|
}
|