StPptnR.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. package com.ruoyi.system.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.common.annotation.Excel;
  4. import java.util.Date;
  5. import java.util.Objects;
  6. /**
  7. * ST_PPTN_R 实时雨量数据表
  8. */
  9. public class StPptnR {
  10. /**
  11. * 测站编码
  12. */
  13. @Excel(name = "测站编码")
  14. private String stcd;
  15. @Excel(name = "测站名称")
  16. private String stnm;
  17. /**
  18. * 时间
  19. */
  20. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  21. @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
  22. private Date tm;
  23. /**
  24. * 时段降雨量
  25. */
  26. @Excel(name = "时段降雨量")
  27. private Double drp;
  28. /**
  29. * 时段长
  30. */
  31. @Excel(name = "时段长")
  32. private Double intv;
  33. /**
  34. * 降水历时
  35. */
  36. @Excel(name = "降水历时")
  37. private Double pdr;
  38. /**
  39. * 日降水量
  40. */
  41. @Excel(name = "日降水量")
  42. private Double dyp;
  43. /**
  44. * 天气状况
  45. */
  46. @Excel(name = "天气状况")
  47. private String wth;
  48. /**
  49. * 月时间
  50. */
  51. private String tmy;
  52. /**
  53. * 经度
  54. */
  55. private Double lgtd;
  56. /**
  57. * 维度
  58. */
  59. private Double lttd;
  60. @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
  61. private Date beginTm;
  62. @Excel(name = "时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
  63. private Date endTm;
  64. public Date getEndTm() {
  65. return endTm;
  66. }
  67. public void setEndTm(Date endTm) {
  68. this.endTm = endTm;
  69. }
  70. public Date getBeginTm() {
  71. return beginTm;
  72. }
  73. public void setBeginTm(Date beginTm) {
  74. this.beginTm = beginTm;
  75. }
  76. public Double getLttd() {
  77. return lttd;
  78. }
  79. public void setLttd(Double lttd) {
  80. this.lttd = lttd;
  81. }
  82. public Double getLgtd() {
  83. return lgtd;
  84. }
  85. public void setLgtd(Double lgtd) {
  86. this.lgtd = lgtd;
  87. }
  88. @Override
  89. public String toString() {
  90. return "StPptnR{" +
  91. "stcd='" + stcd + '\'' +
  92. ", tm=" + tm +
  93. ", drp=" + drp +
  94. ", intv=" + intv +
  95. ", pdr=" + pdr +
  96. ", dyp=" + dyp +
  97. ", wth='" + wth + '\'' +
  98. ", tmy='" + tmy + '\'' +
  99. '}';
  100. }
  101. @Override
  102. public boolean equals(Object o) {
  103. if (this == o) return true;
  104. if (!(o instanceof StPptnR)) return false;
  105. StPptnR stPptnR = (StPptnR) o;
  106. 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());
  107. }
  108. public String getStnm() {
  109. return stnm;
  110. }
  111. public void setStnm(String stnm) {
  112. this.stnm = stnm;
  113. }
  114. @Override
  115. public int hashCode() {
  116. return Objects.hash(getStcd(), getTm(), getDrp(), getIntv(), getPdr(), getDyp(), getWth());
  117. }
  118. public String getTmy() {
  119. return tmy;
  120. }
  121. public void setTmy(String tmy) {
  122. this.tmy = tmy;
  123. }
  124. public String getStcd() {
  125. return stcd;
  126. }
  127. public void setStcd(String stcd) {
  128. this.stcd = stcd;
  129. }
  130. public Date getTm() {
  131. return tm;
  132. }
  133. public void setTm(Date tm) {
  134. this.tm = tm;
  135. }
  136. public Double getDrp() {
  137. return drp;
  138. }
  139. public void setDrp(Double drp) {
  140. this.drp = drp;
  141. }
  142. public Double getIntv() {
  143. return intv;
  144. }
  145. public void setIntv(Double intv) {
  146. this.intv = intv;
  147. }
  148. public Double getPdr() {
  149. return pdr;
  150. }
  151. public void setPdr(Double pdr) {
  152. this.pdr = pdr;
  153. }
  154. public Double getDyp() {
  155. return dyp;
  156. }
  157. public void setDyp(Double dyp) {
  158. this.dyp = dyp;
  159. }
  160. public String getWth() {
  161. return wth;
  162. }
  163. public void setWth(String wth) {
  164. this.wth = wth;
  165. }
  166. public StPptnR(String stcd, Date tm, Double drp, Double intv, Double pdr, Double dyp, String wth) {
  167. this.stcd = stcd;
  168. this.tm = tm;
  169. this.drp = drp;
  170. this.intv = intv;
  171. this.pdr = pdr;
  172. this.dyp = dyp;
  173. this.wth = wth;
  174. }
  175. public StPptnR() {
  176. }
  177. }