package com.flightfeather.uav.domain.entity; import java.util.Date; import javax.persistence.*; public class Mission { @Id @Column(name = "mission_code") private String missionCode; @Column(name = "device_type") private String deviceType; @Column(name = "device_code") private String deviceCode; @Column(name = "start_time") private Date startTime; @Column(name = "end_time") private Date endTime; /** * 数据是否已经拉取入库 */ @Column(name = "data_pulled") private Boolean dataPulled; @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; /** * 里程数,公里 */ private Float kilometres; /** * 走航围绕主要区域 */ private String region; /** * 走航围绕中心区域半径,公里 */ private Float radius; /** * 空气质量等级 */ @Column(name = "pollution_degree") private String pollutionDegree; /** * 空气质量等级指数AQI */ private Integer aqi; /** * 首要污染因子 */ @Column(name = "main_factor") private String mainFactor; /** * @return mission_code */ public String getMissionCode() { return missionCode; } /** * @param missionCode */ public void setMissionCode(String missionCode) { this.missionCode = missionCode == null ? null : missionCode.trim(); } /** * @return device_type */ public String getDeviceType() { return deviceType; } /** * @param deviceType */ public void setDeviceType(String deviceType) { this.deviceType = deviceType == null ? null : deviceType.trim(); } /** * @return device_code */ public String getDeviceCode() { return deviceCode; } /** * @param deviceCode */ public void setDeviceCode(String deviceCode) { this.deviceCode = deviceCode == null ? null : deviceCode.trim(); } /** * @return start_time */ public Date getStartTime() { return startTime; } /** * @param startTime */ public void setStartTime(Date startTime) { this.startTime = startTime; } /** * @return end_time */ public Date getEndTime() { return endTime; } /** * @param endTime */ public void setEndTime(Date endTime) { this.endTime = endTime; } /** * 获取数据是否已经拉取入库 * * @return data_pulled - 数据是否已经拉取入库 */ public Boolean getDataPulled() { return dataPulled; } /** * 设置数据是否已经拉取入库 * * @param dataPulled 数据是否已经拉取入库 */ public void setDataPulled(Boolean dataPulled) { this.dataPulled = dataPulled; } /** * @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(); } /** * 获取里程数,公里 * * @return kilometres - 里程数,公里 */ public Float getKilometres() { return kilometres; } /** * 设置里程数,公里 * * @param kilometres 里程数,公里 */ public void setKilometres(Float kilometres) { this.kilometres = kilometres; } /** * 获取走航围绕主要区域 * * @return region - 走航围绕主要区域 */ public String getRegion() { return region; } /** * 设置走航围绕主要区域 * * @param region 走航围绕主要区域 */ public void setRegion(String region) { this.region = region == null ? null : region.trim(); } /** * 获取走航围绕中心区域半径,公里 * * @return radius - 走航围绕中心区域半径,公里 */ public Float getRadius() { return radius; } /** * 设置走航围绕中心区域半径,公里 * * @param radius 走航围绕中心区域半径,公里 */ public void setRadius(Float radius) { this.radius = radius; } /** * 获取空气质量等级 * * @return pollution_degree - 空气质量等级 */ public String getPollutionDegree() { return pollutionDegree; } /** * 设置空气质量等级 * * @param pollutionDegree 空气质量等级 */ public void setPollutionDegree(String pollutionDegree) { this.pollutionDegree = pollutionDegree == null ? null : pollutionDegree.trim(); } /** * 获取空气质量等级指数AQI * * @return aqi - 空气质量等级指数AQI */ public Integer getAqi() { return aqi; } /** * 设置空气质量等级指数AQI * * @param aqi 空气质量等级指数AQI */ public void setAqi(Integer aqi) { this.aqi = aqi; } /** * 获取首要污染因子 * * @return main_factor - 首要污染因子 */ public String getMainFactor() { return mainFactor; } /** * 设置首要污染因子 * * @param mainFactor 首要污染因子 */ public void setMainFactor(String mainFactor) { this.mainFactor = mainFactor == null ? null : mainFactor.trim(); } }