feiyu02
2025-09-30 94fee0b511279679b43e210878d3d36e5a14384b
src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java
@@ -20,6 +20,9 @@
    @Column(name = "end_time")
    private Date endTime;
    /**
     * 数据是否已经拉取入库
     */
    @Column(name = "data_pulled")
    private Boolean dataPulled;
@@ -53,15 +56,31 @@
    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
@@ -134,14 +153,18 @@
    }
    /**
     * @return data_pulled
     * 获取数据是否已经拉取入库
     *
     * @return data_pulled - 数据是否已经拉取入库
     */
    public Boolean getDataPulled() {
        return dataPulled;
    }
    /**
     * @param dataPulled
     * 设置数据是否已经拉取入库
     *
     * @param dataPulled 数据是否已经拉取入库
     */
    public void setDataPulled(Boolean dataPulled) {
        this.dataPulled = dataPulled;
@@ -278,21 +301,39 @@
    }
    /**
     * 获取所属区域
     * 获取走航围绕主要区域
     *
     * @return region - 所属区域
     * @return region - 走航围绕主要区域
     */
    public String getRegion() {
        return region;
    }
    /**
     * 设置所属区域
     * 设置走航围绕主要区域
     *
     * @param 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;
    }
    /**
@@ -312,4 +353,40 @@
    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();
    }
}