StockDbVO.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. package com.xc.vo2;
  2. import lombok.Data;
  3. import java.math.BigDecimal;
  4. @Data
  5. public class StockDbVO {
  6. private int id;
  7. private String name;
  8. private String code;
  9. private String spell;
  10. private String gid;
  11. private String nowPrice;
  12. private BigDecimal hcrate;
  13. private String today_max;
  14. private String today_min;
  15. private String business_balance;
  16. private String business_amount;
  17. private String preclose_px;
  18. private String open_px;
  19. private String buy1;
  20. private String buy2;
  21. private String buy3;
  22. private String buy4;
  23. private String buy5;
  24. // 是否是自选股票
  25. private boolean isOption;
  26. // 是否交易时间
  27. private int transState;
  28. // 购买限制: 0 :全部 ;1买涨 ;2 买跌
  29. private int buyLimit;
  30. private String sell1;
  31. private String sell2;
  32. private String sell3;
  33. private String sell4;
  34. private String sell5;
  35. private String buy1_num;
  36. private String buy2_num;
  37. private String buy3_num;
  38. private String buy4_num;
  39. private String buy5_num;
  40. private String sell1_num;
  41. private String sell2_num;
  42. private String sell3_num;
  43. private String sell4_num;
  44. private String sell5_num;
  45. private String minImg;
  46. private String dayImg;
  47. private String weekImg;
  48. private String monthImg;
  49. private BigDecimal change;
  50. private Integer stockOrBond;
  51. public boolean equals(Object o) {
  52. if (o == this) return true;
  53. if (!(o instanceof StockDbVO)) return false;
  54. StockDbVO other = (StockDbVO) o;
  55. if (!other.canEqual(this)) return false;
  56. if (getId() != other.getId()) return false;
  57. Object this$name = getName(), other$name = other.getName();
  58. if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false;
  59. Object this$code = getCode(), other$code = other.getCode();
  60. if ((this$code == null) ? (other$code != null) : !this$code.equals(other$code)) return false;
  61. Object this$spell = getSpell(), other$spell = other.getSpell();
  62. if ((this$spell == null) ? (other$spell != null) : !this$spell.equals(other$spell)) return false;
  63. Object this$gid = getGid(), other$gid = other.getGid();
  64. if ((this$gid == null) ? (other$gid != null) : !this$gid.equals(other$gid)) return false;
  65. Object this$nowPrice = getNowPrice(), other$nowPrice = other.getNowPrice();
  66. if ((this$nowPrice == null) ? (other$nowPrice != null) : !this$nowPrice.equals(other$nowPrice)) return false;
  67. Object this$hcrate = getHcrate(), other$hcrate = other.getHcrate();
  68. if ((this$hcrate == null) ? (other$hcrate != null) : !this$hcrate.equals(other$hcrate)) return false;
  69. Object this$today_max = getToday_max(), other$today_max = other.getToday_max();
  70. if ((this$today_max == null) ? (other$today_max != null) : !this$today_max.equals(other$today_max))
  71. return false;
  72. Object this$today_min = getToday_min(), other$today_min = other.getToday_min();
  73. if ((this$today_min == null) ? (other$today_min != null) : !this$today_min.equals(other$today_min))
  74. return false;
  75. Object this$business_balance = getBusiness_balance(), other$business_balance = other.getBusiness_balance();
  76. if ((this$business_balance == null) ? (other$business_balance != null) : !this$business_balance.equals(other$business_balance))
  77. return false;
  78. Object this$business_amount = getBusiness_amount(), other$business_amount = other.getBusiness_amount();
  79. if ((this$business_amount == null) ? (other$business_amount != null) : !this$business_amount.equals(other$business_amount))
  80. return false;
  81. Object this$preclose_px = getPreclose_px(), other$preclose_px = other.getPreclose_px();
  82. if ((this$preclose_px == null) ? (other$preclose_px != null) : !this$preclose_px.equals(other$preclose_px))
  83. return false;
  84. Object this$open_px = getOpen_px(), other$open_px = other.getOpen_px();
  85. if ((this$open_px == null) ? (other$open_px != null) : !this$open_px.equals(other$open_px)) return false;
  86. Object this$buy1 = getBuy1(), other$buy1 = other.getBuy1();
  87. if ((this$buy1 == null) ? (other$buy1 != null) : !this$buy1.equals(other$buy1)) return false;
  88. Object this$buy2 = getBuy2(), other$buy2 = other.getBuy2();
  89. if ((this$buy2 == null) ? (other$buy2 != null) : !this$buy2.equals(other$buy2)) return false;
  90. Object this$buy3 = getBuy3(), other$buy3 = other.getBuy3();
  91. if ((this$buy3 == null) ? (other$buy3 != null) : !this$buy3.equals(other$buy3)) return false;
  92. Object this$buy4 = getBuy4(), other$buy4 = other.getBuy4();
  93. if ((this$buy4 == null) ? (other$buy4 != null) : !this$buy4.equals(other$buy4)) return false;
  94. Object this$buy5 = getBuy5(), other$buy5 = other.getBuy5();
  95. if ((this$buy5 == null) ? (other$buy5 != null) : !this$buy5.equals(other$buy5)) return false;
  96. Object this$sell1 = getSell1(), other$sell1 = other.getSell1();
  97. if ((this$sell1 == null) ? (other$sell1 != null) : !this$sell1.equals(other$sell1)) return false;
  98. Object this$sell2 = getSell2(), other$sell2 = other.getSell2();
  99. if ((this$sell2 == null) ? (other$sell2 != null) : !this$sell2.equals(other$sell2)) return false;
  100. Object this$sell3 = getSell3(), other$sell3 = other.getSell3();
  101. if ((this$sell3 == null) ? (other$sell3 != null) : !this$sell3.equals(other$sell3)) return false;
  102. Object this$sell4 = getSell4(), other$sell4 = other.getSell4();
  103. if ((this$sell4 == null) ? (other$sell4 != null) : !this$sell4.equals(other$sell4)) return false;
  104. Object this$sell5 = getSell5(), other$sell5 = other.getSell5();
  105. if ((this$sell5 == null) ? (other$sell5 != null) : !this$sell5.equals(other$sell5)) return false;
  106. Object this$buy1_num = getBuy1_num(), other$buy1_num = other.getBuy1_num();
  107. if ((this$buy1_num == null) ? (other$buy1_num != null) : !this$buy1_num.equals(other$buy1_num)) return false;
  108. Object this$buy2_num = getBuy2_num(), other$buy2_num = other.getBuy2_num();
  109. if ((this$buy2_num == null) ? (other$buy2_num != null) : !this$buy2_num.equals(other$buy2_num)) return false;
  110. Object this$buy3_num = getBuy3_num(), other$buy3_num = other.getBuy3_num();
  111. if ((this$buy3_num == null) ? (other$buy3_num != null) : !this$buy3_num.equals(other$buy3_num)) return false;
  112. Object this$buy4_num = getBuy4_num(), other$buy4_num = other.getBuy4_num();
  113. if ((this$buy4_num == null) ? (other$buy4_num != null) : !this$buy4_num.equals(other$buy4_num)) return false;
  114. Object this$buy5_num = getBuy5_num(), other$buy5_num = other.getBuy5_num();
  115. if ((this$buy5_num == null) ? (other$buy5_num != null) : !this$buy5_num.equals(other$buy5_num)) return false;
  116. Object this$sell1_num = getSell1_num(), other$sell1_num = other.getSell1_num();
  117. if ((this$sell1_num == null) ? (other$sell1_num != null) : !this$sell1_num.equals(other$sell1_num))
  118. return false;
  119. Object this$sell2_num = getSell2_num(), other$sell2_num = other.getSell2_num();
  120. if ((this$sell2_num == null) ? (other$sell2_num != null) : !this$sell2_num.equals(other$sell2_num))
  121. return false;
  122. Object this$sell3_num = getSell3_num(), other$sell3_num = other.getSell3_num();
  123. if ((this$sell3_num == null) ? (other$sell3_num != null) : !this$sell3_num.equals(other$sell3_num))
  124. return false;
  125. Object this$sell4_num = getSell4_num(), other$sell4_num = other.getSell4_num();
  126. if ((this$sell4_num == null) ? (other$sell4_num != null) : !this$sell4_num.equals(other$sell4_num))
  127. return false;
  128. Object this$sell5_num = getSell5_num(), other$sell5_num = other.getSell5_num();
  129. if ((this$sell5_num == null) ? (other$sell5_num != null) : !this$sell5_num.equals(other$sell5_num))
  130. return false;
  131. Object this$minImg = getMinImg(), other$minImg = other.getMinImg();
  132. if ((this$minImg == null) ? (other$minImg != null) : !this$minImg.equals(other$minImg)) return false;
  133. Object this$dayImg = getDayImg(), other$dayImg = other.getDayImg();
  134. if ((this$dayImg == null) ? (other$dayImg != null) : !this$dayImg.equals(other$dayImg)) return false;
  135. Object this$weekImg = getWeekImg(), other$weekImg = other.getWeekImg();
  136. if ((this$weekImg == null) ? (other$weekImg != null) : !this$weekImg.equals(other$weekImg)) return false;
  137. Object this$monthImg = getMonthImg(), other$monthImg = other.getMonthImg();
  138. return !((this$monthImg == null) ? (other$monthImg != null) : !this$monthImg.equals(other$monthImg));
  139. }
  140. protected boolean canEqual(Object other) {
  141. return other instanceof StockDbVO;
  142. }
  143. public int hashCode() {
  144. int PRIME = 59;
  145. int result = 1;
  146. result = result * 59 + getId();
  147. Object $name = getName();
  148. result = result * 59 + (($name == null) ? 43 : $name.hashCode());
  149. Object $code = getCode();
  150. result = result * 59 + (($code == null) ? 43 : $code.hashCode());
  151. Object $spell = getSpell();
  152. result = result * 59 + (($spell == null) ? 43 : $spell.hashCode());
  153. Object $gid = getGid();
  154. result = result * 59 + (($gid == null) ? 43 : $gid.hashCode());
  155. Object $nowPrice = getNowPrice();
  156. result = result * 59 + (($nowPrice == null) ? 43 : $nowPrice.hashCode());
  157. Object $hcrate = getHcrate();
  158. result = result * 59 + (($hcrate == null) ? 43 : $hcrate.hashCode());
  159. Object $today_max = getToday_max();
  160. result = result * 59 + (($today_max == null) ? 43 : $today_max.hashCode());
  161. Object $today_min = getToday_min();
  162. result = result * 59 + (($today_min == null) ? 43 : $today_min.hashCode());
  163. Object $business_balance = getBusiness_balance();
  164. result = result * 59 + (($business_balance == null) ? 43 : $business_balance.hashCode());
  165. Object $business_amount = getBusiness_amount();
  166. result = result * 59 + (($business_amount == null) ? 43 : $business_amount.hashCode());
  167. Object $preclose_px = getPreclose_px();
  168. result = result * 59 + (($preclose_px == null) ? 43 : $preclose_px.hashCode());
  169. Object $open_px = getOpen_px();
  170. result = result * 59 + (($open_px == null) ? 43 : $open_px.hashCode());
  171. Object $buy1 = getBuy1();
  172. result = result * 59 + (($buy1 == null) ? 43 : $buy1.hashCode());
  173. Object $buy2 = getBuy2();
  174. result = result * 59 + (($buy2 == null) ? 43 : $buy2.hashCode());
  175. Object $buy3 = getBuy3();
  176. result = result * 59 + (($buy3 == null) ? 43 : $buy3.hashCode());
  177. Object $buy4 = getBuy4();
  178. result = result * 59 + (($buy4 == null) ? 43 : $buy4.hashCode());
  179. Object $buy5 = getBuy5();
  180. result = result * 59 + (($buy5 == null) ? 43 : $buy5.hashCode());
  181. Object $sell1 = getSell1();
  182. result = result * 59 + (($sell1 == null) ? 43 : $sell1.hashCode());
  183. Object $sell2 = getSell2();
  184. result = result * 59 + (($sell2 == null) ? 43 : $sell2.hashCode());
  185. Object $sell3 = getSell3();
  186. result = result * 59 + (($sell3 == null) ? 43 : $sell3.hashCode());
  187. Object $sell4 = getSell4();
  188. result = result * 59 + (($sell4 == null) ? 43 : $sell4.hashCode());
  189. Object $sell5 = getSell5();
  190. result = result * 59 + (($sell5 == null) ? 43 : $sell5.hashCode());
  191. Object $buy1_num = getBuy1_num();
  192. result = result * 59 + (($buy1_num == null) ? 43 : $buy1_num.hashCode());
  193. Object $buy2_num = getBuy2_num();
  194. result = result * 59 + (($buy2_num == null) ? 43 : $buy2_num.hashCode());
  195. Object $buy3_num = getBuy3_num();
  196. result = result * 59 + (($buy3_num == null) ? 43 : $buy3_num.hashCode());
  197. Object $buy4_num = getBuy4_num();
  198. result = result * 59 + (($buy4_num == null) ? 43 : $buy4_num.hashCode());
  199. Object $buy5_num = getBuy5_num();
  200. result = result * 59 + (($buy5_num == null) ? 43 : $buy5_num.hashCode());
  201. Object $sell1_num = getSell1_num();
  202. result = result * 59 + (($sell1_num == null) ? 43 : $sell1_num.hashCode());
  203. Object $sell2_num = getSell2_num();
  204. result = result * 59 + (($sell2_num == null) ? 43 : $sell2_num.hashCode());
  205. Object $sell3_num = getSell3_num();
  206. result = result * 59 + (($sell3_num == null) ? 43 : $sell3_num.hashCode());
  207. Object $sell4_num = getSell4_num();
  208. result = result * 59 + (($sell4_num == null) ? 43 : $sell4_num.hashCode());
  209. Object $sell5_num = getSell5_num();
  210. result = result * 59 + (($sell5_num == null) ? 43 : $sell5_num.hashCode());
  211. Object $minImg = getMinImg();
  212. result = result * 59 + (($minImg == null) ? 43 : $minImg.hashCode());
  213. Object $dayImg = getDayImg();
  214. result = result * 59 + (($dayImg == null) ? 43 : $dayImg.hashCode());
  215. Object $weekImg = getWeekImg();
  216. result = result * 59 + (($weekImg == null) ? 43 : $weekImg.hashCode());
  217. Object $monthImg = getMonthImg();
  218. return result * 59 + (($monthImg == null) ? 43 : $monthImg.hashCode());
  219. }
  220. public String toString() {
  221. return "StockVO(id=" + getId() + ", name=" + getName() + ", code=" + getCode() + ", spell=" + getSpell() + ", gid=" + getGid() + ", nowPrice=" + getNowPrice() + ", hcrate=" + getHcrate() + ", today_max=" + getToday_max() + ", today_min=" + getToday_min() + ", business_balance=" + getBusiness_balance() + ", business_amount=" + getBusiness_amount() + ", preclose_px=" + getPreclose_px() + ", open_px=" + getOpen_px() + ", buy1=" + getBuy1() + ", buy2=" + getBuy2() + ", buy3=" + getBuy3() + ", buy4=" + getBuy4() + ", buy5=" + getBuy5() + ", sell1=" + getSell1() + ", sell2=" + getSell2() + ", sell3=" + getSell3() + ", sell4=" + getSell4() + ", sell5=" + getSell5() + ", buy1_num=" + getBuy1_num() + ", buy2_num=" + getBuy2_num() + ", buy3_num=" + getBuy3_num() + ", buy4_num=" + getBuy4_num() + ", buy5_num=" + getBuy5_num() + ", sell1_num=" + getSell1_num() + ", sell2_num=" + getSell2_num() + ", sell3_num=" + getSell3_num() + ", sell4_num=" + getSell4_num() + ", sell5_num=" + getSell5_num() + ", minImg=" + getMinImg() + ", dayImg=" + getDayImg() + ", weekImg=" + getWeekImg() + ", monthImg=" + getMonthImg() + ")";
  222. }
  223. }