wuww
2025-04-30 1cae540cd2b99803808d31a3a5dd35e3216f19c7
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
48
49
50
51
52
53
54
package com.se.nsl.domain.po;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
 
import java.util.Date;
 
@SuppressWarnings("ALL")
public class Rainfall {
    @ApiModelProperty("时间(yyyy-MM-dd HH:mm:ss)")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
 
    @ApiModelProperty("雨强(mm/h)")
    private Double intensity;
 
    @ApiModelProperty("累计雨量(mm)")
    private Double total;
 
    public Rainfall() {
    }
 
    public Rainfall(Date time, Double intensity, Double total) {
        this.time = time;
        this.intensity = intensity;
        this.total = total;
    }
 
    public Date getTime() {
        return time;
    }
 
    public void setTime(Date time) {
        this.time = time;
    }
 
    public Double getIntensity() {
        return intensity;
    }
 
    public void setIntensity(Double intensity) {
        this.intensity = intensity;
    }
 
    public Double getTotal() {
        return total;
    }
 
    public void setTotal(Double total) {
        this.total = total;
    }
}