feiyu02
21 小时以前 8eb584869b4fd4de0f51c93f2616f12e51df9193
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.flightfeather.uav.lightshare.bean
 
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import io.swagger.annotations.ApiParam
import org.springframework.format.annotation.DateTimeFormat
import org.springframework.web.bind.annotation.RequestParam
import java.time.LocalDateTime
 
/**
 * 数据分析接口查询选项
 * @date 2025/10/15
 * @author feiyu02
 */
@ApiModel(value = "数据分析接口查询选项")
class AnalysisOption {
 
    /** 区域 */
    @ApiModelProperty(value = "区域")
    var area: AreaVo? = null
 
    /** 是否不包含其他区县 */
    @ApiModelProperty(value = "是否不包含其他区县")
    var removeOtherDistrict: Boolean = false
 
 
    /** 是否不包含未溯源到污染源的污染线索 */
    @ApiModelProperty(value = "是否不包含未溯源到污染源的污染线索")
    var removeNoPollutedSource:Boolean = false
 
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    var startTime: LocalDateTime? = null
 
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    var endTime: LocalDateTime? = null
 
    @ApiModelProperty(value = "数据颗粒度", allowableValues = "SECOND, MINUTE, HOUR")
    var granularity: String? = null
 
    @ApiParam("需要统计的监测因子", example = "NO2, CO")
    var factorTypes: List<String>? = null
}