| | |
| | | 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 |
| | | |
| | | /** |
| | |
| | | @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 |
| | | } |