package com.ruoyi.system.domain; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import java.util.Date; import java.util.Objects; /** * ST_PPTN_R 实时雨量数据表 */ public class StPptnR { /** * 测站编码 */ @Excel(name = "测站编码") private String stcd; @Excel(name = "测站名称") private String stnm; /** * 时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss") private Date tm; /** * 时段降雨量 */ @Excel(name = "时段降雨量") private Double drp; /** * 时段长 */ @Excel(name = "时段长") private Double intv; /** * 降水历时 */ @Excel(name = "降水历时") private Double pdr; /** * 日降水量 */ @Excel(name = "日降水量") private Double dyp; /** * 天气状况 */ @Excel(name = "天气状况") private String wth; /** * 月时间 */ private String tmy; /** * 经度 */ private Double lgtd; /** * 维度 */ private Double lttd; @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss") private Date beginTm; @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss") private Date endTm; public Date getEndTm() { return endTm; } public void setEndTm(Date endTm) { this.endTm = endTm; } public Date getBeginTm() { return beginTm; } public void setBeginTm(Date beginTm) { this.beginTm = beginTm; } public Double getLttd() { return lttd; } public void setLttd(Double lttd) { this.lttd = lttd; } public Double getLgtd() { return lgtd; } public void setLgtd(Double lgtd) { this.lgtd = lgtd; } @Override public String toString() { return "StPptnR{" + "stcd='" + stcd + '\'' + ", tm=" + tm + ", drp=" + drp + ", intv=" + intv + ", pdr=" + pdr + ", dyp=" + dyp + ", wth='" + wth + '\'' + ", tmy='" + tmy + '\'' + '}'; } @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof StPptnR)) return false; StPptnR stPptnR = (StPptnR) o; return Objects.equals(getStcd(), stPptnR.getStcd()) && Objects.equals(getTm(), stPptnR.getTm()) && Objects.equals(getDrp(), stPptnR.getDrp()) && Objects.equals(getIntv(), stPptnR.getIntv()) && Objects.equals(getPdr(), stPptnR.getPdr()) && Objects.equals(getDyp(), stPptnR.getDyp()) && Objects.equals(getWth(), stPptnR.getWth()); } public String getStnm() { return stnm; } public void setStnm(String stnm) { this.stnm = stnm; } @Override public int hashCode() { return Objects.hash(getStcd(), getTm(), getDrp(), getIntv(), getPdr(), getDyp(), getWth()); } public String getTmy() { return tmy; } public void setTmy(String tmy) { this.tmy = tmy; } public String getStcd() { return stcd; } public void setStcd(String stcd) { this.stcd = stcd; } public Date getTm() { return tm; } public void setTm(Date tm) { this.tm = tm; } public Double getDrp() { return drp; } public void setDrp(Double drp) { this.drp = drp; } public Double getIntv() { return intv; } public void setIntv(Double intv) { this.intv = intv; } public Double getPdr() { return pdr; } public void setPdr(Double pdr) { this.pdr = pdr; } public Double getDyp() { return dyp; } public void setDyp(Double dyp) { this.dyp = dyp; } public String getWth() { return wth; } public void setWth(String wth) { this.wth = wth; } public StPptnR(String stcd, Date tm, Double drp, Double intv, Double pdr, Double dyp, String wth) { this.stcd = stcd; this.tm = tm; this.drp = drp; this.intv = intv; this.pdr = pdr; this.dyp = dyp; this.wth = wth; } public StPptnR() { } }