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.io.Serializable;
|
import java.util.Date;
|
|
@SuppressWarnings("ALL")
|
public class Rainfall implements Serializable {
|
@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;
|
}
|
}
|