package com.flightfeather.uav.domain.entity;
|
|
import java.util.Date;
|
import javax.persistence.*;
|
|
@Table(name = "grid_data")
|
public class GridData {
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
private Integer id;
|
|
/**
|
* 网格分组id
|
*/
|
@Column(name = "group_id")
|
private Integer groupId;
|
|
/**
|
* 数据时间
|
*/
|
@Column(name = "data_time")
|
private Date dataTime;
|
|
/**
|
* 数据类型,0:原始卫星遥测数据;1:融合数据
|
*/
|
private Byte type;
|
|
/**
|
* 融合的数据主键id,id之间用,分隔
|
*/
|
@Column(name = "mix_data_id")
|
private String mixDataId;
|
|
/**
|
* 所属区域(走航监测融合网格)
|
*/
|
private String zone;
|
|
/**
|
* 大气污染等级(优、良、轻度污染、中度污染、重度污染)
|
*/
|
@Column(name = "pollution_degree")
|
private String pollutionDegree;
|
|
/**
|
* 大气污染等级编号(优、良、轻度污染、中度污染、重度污染)
|
*/
|
@Column(name = "pollution_degree_index")
|
private Integer pollutionDegreeIndex;
|
|
/**
|
* 走航任务编号
|
*/
|
@Column(name = "mission_code")
|
private String missionCode;
|
|
@Column(name = "province_code")
|
private String provinceCode;
|
|
@Column(name = "province_name")
|
private String provinceName;
|
|
@Column(name = "city_code")
|
private String cityCode;
|
|
@Column(name = "city_name")
|
private String cityName;
|
|
@Column(name = "district_code")
|
private String districtCode;
|
|
@Column(name = "district_name")
|
private String districtName;
|
|
@Column(name = "town_code")
|
private String townCode;
|
|
@Column(name = "town_name")
|
private String townName;
|
|
/**
|
* 所处每日的时段,"凌晨 0 - 6", "早上 6 - 9", "上午 9 - 12", "中午 12 - 14", "下午 14 - 17", "傍晚 17 - 20", "夜间 20 - 0"
|
*/
|
@Column(name = "day_time_period")
|
private String dayTimePeriod;
|
|
/**
|
* 日时段开始时间
|
*/
|
@Column(name = "day_time_period_start")
|
private Date dayTimePeriodStart;
|
|
/**
|
* 日时段结束时间
|
*/
|
@Column(name = "day_time_period_end")
|
private Date dayTimePeriodEnd;
|
|
/**
|
* @return id
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* @param id
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* 获取网格分组id
|
*
|
* @return group_id - 网格分组id
|
*/
|
public Integer getGroupId() {
|
return groupId;
|
}
|
|
/**
|
* 设置网格分组id
|
*
|
* @param groupId 网格分组id
|
*/
|
public void setGroupId(Integer groupId) {
|
this.groupId = groupId;
|
}
|
|
/**
|
* 获取数据时间
|
*
|
* @return data_time - 数据时间
|
*/
|
public Date getDataTime() {
|
return dataTime;
|
}
|
|
/**
|
* 设置数据时间
|
*
|
* @param dataTime 数据时间
|
*/
|
public void setDataTime(Date dataTime) {
|
this.dataTime = dataTime;
|
}
|
|
/**
|
* 获取数据类型,0:原始卫星遥测数据;1:融合数据
|
*
|
* @return type - 数据类型,0:原始卫星遥测数据;1:融合数据
|
*/
|
public Byte getType() {
|
return type;
|
}
|
|
/**
|
* 设置数据类型,0:原始卫星遥测数据;1:融合数据
|
*
|
* @param type 数据类型,0:原始卫星遥测数据;1:融合数据
|
*/
|
public void setType(Byte type) {
|
this.type = type;
|
}
|
|
/**
|
* 获取融合的数据主键id,id之间用,分隔
|
*
|
* @return mix_data_id - 融合的数据主键id,id之间用,分隔
|
*/
|
public String getMixDataId() {
|
return mixDataId;
|
}
|
|
/**
|
* 设置融合的数据主键id,id之间用,分隔
|
*
|
* @param mixDataId 融合的数据主键id,id之间用,分隔
|
*/
|
public void setMixDataId(String mixDataId) {
|
this.mixDataId = mixDataId == null ? null : mixDataId.trim();
|
}
|
|
/**
|
* 获取所属区域(走航监测融合网格)
|
*
|
* @return zone - 所属区域(走航监测融合网格)
|
*/
|
public String getZone() {
|
return zone;
|
}
|
|
/**
|
* 设置所属区域(走航监测融合网格)
|
*
|
* @param zone 所属区域(走航监测融合网格)
|
*/
|
public void setZone(String zone) {
|
this.zone = zone == null ? null : zone.trim();
|
}
|
|
/**
|
* 获取大气污染等级(优、良、轻度污染、中度污染、重度污染)
|
*
|
* @return pollution_degree - 大气污染等级(优、良、轻度污染、中度污染、重度污染)
|
*/
|
public String getPollutionDegree() {
|
return pollutionDegree;
|
}
|
|
/**
|
* 设置大气污染等级(优、良、轻度污染、中度污染、重度污染)
|
*
|
* @param pollutionDegree 大气污染等级(优、良、轻度污染、中度污染、重度污染)
|
*/
|
public void setPollutionDegree(String pollutionDegree) {
|
this.pollutionDegree = pollutionDegree == null ? null : pollutionDegree.trim();
|
}
|
|
/**
|
* 获取大气污染等级编号(优、良、轻度污染、中度污染、重度污染)
|
*
|
* @return pollution_degree_index - 大气污染等级编号(优、良、轻度污染、中度污染、重度污染)
|
*/
|
public Integer getPollutionDegreeIndex() {
|
return pollutionDegreeIndex;
|
}
|
|
/**
|
* 设置大气污染等级编号(优、良、轻度污染、中度污染、重度污染)
|
*
|
* @param pollutionDegreeIndex 大气污染等级编号(优、良、轻度污染、中度污染、重度污染)
|
*/
|
public void setPollutionDegreeIndex(Integer pollutionDegreeIndex) {
|
this.pollutionDegreeIndex = pollutionDegreeIndex;
|
}
|
|
/**
|
* 获取走航任务编号
|
*
|
* @return mission_code - 走航任务编号
|
*/
|
public String getMissionCode() {
|
return missionCode;
|
}
|
|
/**
|
* 设置走航任务编号
|
*
|
* @param missionCode 走航任务编号
|
*/
|
public void setMissionCode(String missionCode) {
|
this.missionCode = missionCode == null ? null : missionCode.trim();
|
}
|
|
/**
|
* @return province_code
|
*/
|
public String getProvinceCode() {
|
return provinceCode;
|
}
|
|
/**
|
* @param provinceCode
|
*/
|
public void setProvinceCode(String provinceCode) {
|
this.provinceCode = provinceCode == null ? null : provinceCode.trim();
|
}
|
|
/**
|
* @return province_name
|
*/
|
public String getProvinceName() {
|
return provinceName;
|
}
|
|
/**
|
* @param provinceName
|
*/
|
public void setProvinceName(String provinceName) {
|
this.provinceName = provinceName == null ? null : provinceName.trim();
|
}
|
|
/**
|
* @return city_code
|
*/
|
public String getCityCode() {
|
return cityCode;
|
}
|
|
/**
|
* @param cityCode
|
*/
|
public void setCityCode(String cityCode) {
|
this.cityCode = cityCode == null ? null : cityCode.trim();
|
}
|
|
/**
|
* @return city_name
|
*/
|
public String getCityName() {
|
return cityName;
|
}
|
|
/**
|
* @param cityName
|
*/
|
public void setCityName(String cityName) {
|
this.cityName = cityName == null ? null : cityName.trim();
|
}
|
|
/**
|
* @return district_code
|
*/
|
public String getDistrictCode() {
|
return districtCode;
|
}
|
|
/**
|
* @param districtCode
|
*/
|
public void setDistrictCode(String districtCode) {
|
this.districtCode = districtCode == null ? null : districtCode.trim();
|
}
|
|
/**
|
* @return district_name
|
*/
|
public String getDistrictName() {
|
return districtName;
|
}
|
|
/**
|
* @param districtName
|
*/
|
public void setDistrictName(String districtName) {
|
this.districtName = districtName == null ? null : districtName.trim();
|
}
|
|
/**
|
* @return town_code
|
*/
|
public String getTownCode() {
|
return townCode;
|
}
|
|
/**
|
* @param townCode
|
*/
|
public void setTownCode(String townCode) {
|
this.townCode = townCode == null ? null : townCode.trim();
|
}
|
|
/**
|
* @return town_name
|
*/
|
public String getTownName() {
|
return townName;
|
}
|
|
/**
|
* @param townName
|
*/
|
public void setTownName(String townName) {
|
this.townName = townName == null ? null : townName.trim();
|
}
|
|
/**
|
* 获取所处每日的时段,"凌晨 0 - 6", "早上 6 - 9", "上午 9 - 12", "中午 12 - 14", "下午 14 - 17", "傍晚 17 - 20", "夜间 20 - 0"
|
*
|
* @return day_time_period - 所处每日的时段,"凌晨 0 - 6", "早上 6 - 9", "上午 9 - 12", "中午 12 - 14", "下午 14 - 17", "傍晚 17 - 20", "夜间 20 - 0"
|
*/
|
public String getDayTimePeriod() {
|
return dayTimePeriod;
|
}
|
|
/**
|
* 设置所处每日的时段,"凌晨 0 - 6", "早上 6 - 9", "上午 9 - 12", "中午 12 - 14", "下午 14 - 17", "傍晚 17 - 20", "夜间 20 - 0"
|
*
|
* @param dayTimePeriod 所处每日的时段,"凌晨 0 - 6", "早上 6 - 9", "上午 9 - 12", "中午 12 - 14", "下午 14 - 17", "傍晚 17 - 20", "夜间 20 - 0"
|
*/
|
public void setDayTimePeriod(String dayTimePeriod) {
|
this.dayTimePeriod = dayTimePeriod == null ? null : dayTimePeriod.trim();
|
}
|
|
/**
|
* 获取日时段开始时间
|
*
|
* @return day_time_period_start - 日时段开始时间
|
*/
|
public Date getDayTimePeriodStart() {
|
return dayTimePeriodStart;
|
}
|
|
/**
|
* 设置日时段开始时间
|
*
|
* @param dayTimePeriodStart 日时段开始时间
|
*/
|
public void setDayTimePeriodStart(Date dayTimePeriodStart) {
|
this.dayTimePeriodStart = dayTimePeriodStart;
|
}
|
|
/**
|
* 获取日时段结束时间
|
*
|
* @return day_time_period_end - 日时段结束时间
|
*/
|
public Date getDayTimePeriodEnd() {
|
return dayTimePeriodEnd;
|
}
|
|
/**
|
* 设置日时段结束时间
|
*
|
* @param dayTimePeriodEnd 日时段结束时间
|
*/
|
public void setDayTimePeriodEnd(Date dayTimePeriodEnd) {
|
this.dayTimePeriodEnd = dayTimePeriodEnd;
|
}
|
}
|