package com.xc.vo2; import lombok.Data; import java.math.BigDecimal; @Data public class StockDbVO { private int id; private String name; private String code; private String spell; private String gid; private String nowPrice; private BigDecimal hcrate; private String today_max; private String today_min; private String business_balance; private String business_amount; private String preclose_px; private String open_px; private String buy1; private String buy2; private String buy3; private String buy4; private String buy5; // 是否是自选股票 private boolean isOption; // 是否交易时间 private int transState; // 购买限制: 0 :全部 ;1买涨 ;2 买跌 private int buyLimit; private String sell1; private String sell2; private String sell3; private String sell4; private String sell5; private String buy1_num; private String buy2_num; private String buy3_num; private String buy4_num; private String buy5_num; private String sell1_num; private String sell2_num; private String sell3_num; private String sell4_num; private String sell5_num; private String minImg; private String dayImg; private String weekImg; private String monthImg; private BigDecimal change; private Integer stockOrBond; public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof StockDbVO)) return false; StockDbVO other = (StockDbVO) o; if (!other.canEqual(this)) return false; if (getId() != other.getId()) return false; Object this$name = getName(), other$name = other.getName(); if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false; Object this$code = getCode(), other$code = other.getCode(); if ((this$code == null) ? (other$code != null) : !this$code.equals(other$code)) return false; Object this$spell = getSpell(), other$spell = other.getSpell(); if ((this$spell == null) ? (other$spell != null) : !this$spell.equals(other$spell)) return false; Object this$gid = getGid(), other$gid = other.getGid(); if ((this$gid == null) ? (other$gid != null) : !this$gid.equals(other$gid)) return false; Object this$nowPrice = getNowPrice(), other$nowPrice = other.getNowPrice(); if ((this$nowPrice == null) ? (other$nowPrice != null) : !this$nowPrice.equals(other$nowPrice)) return false; Object this$hcrate = getHcrate(), other$hcrate = other.getHcrate(); if ((this$hcrate == null) ? (other$hcrate != null) : !this$hcrate.equals(other$hcrate)) return false; Object this$today_max = getToday_max(), other$today_max = other.getToday_max(); if ((this$today_max == null) ? (other$today_max != null) : !this$today_max.equals(other$today_max)) return false; Object this$today_min = getToday_min(), other$today_min = other.getToday_min(); if ((this$today_min == null) ? (other$today_min != null) : !this$today_min.equals(other$today_min)) return false; Object this$business_balance = getBusiness_balance(), other$business_balance = other.getBusiness_balance(); if ((this$business_balance == null) ? (other$business_balance != null) : !this$business_balance.equals(other$business_balance)) return false; Object this$business_amount = getBusiness_amount(), other$business_amount = other.getBusiness_amount(); if ((this$business_amount == null) ? (other$business_amount != null) : !this$business_amount.equals(other$business_amount)) return false; Object this$preclose_px = getPreclose_px(), other$preclose_px = other.getPreclose_px(); if ((this$preclose_px == null) ? (other$preclose_px != null) : !this$preclose_px.equals(other$preclose_px)) return false; Object this$open_px = getOpen_px(), other$open_px = other.getOpen_px(); if ((this$open_px == null) ? (other$open_px != null) : !this$open_px.equals(other$open_px)) return false; Object this$buy1 = getBuy1(), other$buy1 = other.getBuy1(); if ((this$buy1 == null) ? (other$buy1 != null) : !this$buy1.equals(other$buy1)) return false; Object this$buy2 = getBuy2(), other$buy2 = other.getBuy2(); if ((this$buy2 == null) ? (other$buy2 != null) : !this$buy2.equals(other$buy2)) return false; Object this$buy3 = getBuy3(), other$buy3 = other.getBuy3(); if ((this$buy3 == null) ? (other$buy3 != null) : !this$buy3.equals(other$buy3)) return false; Object this$buy4 = getBuy4(), other$buy4 = other.getBuy4(); if ((this$buy4 == null) ? (other$buy4 != null) : !this$buy4.equals(other$buy4)) return false; Object this$buy5 = getBuy5(), other$buy5 = other.getBuy5(); if ((this$buy5 == null) ? (other$buy5 != null) : !this$buy5.equals(other$buy5)) return false; Object this$sell1 = getSell1(), other$sell1 = other.getSell1(); if ((this$sell1 == null) ? (other$sell1 != null) : !this$sell1.equals(other$sell1)) return false; Object this$sell2 = getSell2(), other$sell2 = other.getSell2(); if ((this$sell2 == null) ? (other$sell2 != null) : !this$sell2.equals(other$sell2)) return false; Object this$sell3 = getSell3(), other$sell3 = other.getSell3(); if ((this$sell3 == null) ? (other$sell3 != null) : !this$sell3.equals(other$sell3)) return false; Object this$sell4 = getSell4(), other$sell4 = other.getSell4(); if ((this$sell4 == null) ? (other$sell4 != null) : !this$sell4.equals(other$sell4)) return false; Object this$sell5 = getSell5(), other$sell5 = other.getSell5(); if ((this$sell5 == null) ? (other$sell5 != null) : !this$sell5.equals(other$sell5)) return false; Object this$buy1_num = getBuy1_num(), other$buy1_num = other.getBuy1_num(); if ((this$buy1_num == null) ? (other$buy1_num != null) : !this$buy1_num.equals(other$buy1_num)) return false; Object this$buy2_num = getBuy2_num(), other$buy2_num = other.getBuy2_num(); if ((this$buy2_num == null) ? (other$buy2_num != null) : !this$buy2_num.equals(other$buy2_num)) return false; Object this$buy3_num = getBuy3_num(), other$buy3_num = other.getBuy3_num(); if ((this$buy3_num == null) ? (other$buy3_num != null) : !this$buy3_num.equals(other$buy3_num)) return false; Object this$buy4_num = getBuy4_num(), other$buy4_num = other.getBuy4_num(); if ((this$buy4_num == null) ? (other$buy4_num != null) : !this$buy4_num.equals(other$buy4_num)) return false; Object this$buy5_num = getBuy5_num(), other$buy5_num = other.getBuy5_num(); if ((this$buy5_num == null) ? (other$buy5_num != null) : !this$buy5_num.equals(other$buy5_num)) return false; Object this$sell1_num = getSell1_num(), other$sell1_num = other.getSell1_num(); if ((this$sell1_num == null) ? (other$sell1_num != null) : !this$sell1_num.equals(other$sell1_num)) return false; Object this$sell2_num = getSell2_num(), other$sell2_num = other.getSell2_num(); if ((this$sell2_num == null) ? (other$sell2_num != null) : !this$sell2_num.equals(other$sell2_num)) return false; Object this$sell3_num = getSell3_num(), other$sell3_num = other.getSell3_num(); if ((this$sell3_num == null) ? (other$sell3_num != null) : !this$sell3_num.equals(other$sell3_num)) return false; Object this$sell4_num = getSell4_num(), other$sell4_num = other.getSell4_num(); if ((this$sell4_num == null) ? (other$sell4_num != null) : !this$sell4_num.equals(other$sell4_num)) return false; Object this$sell5_num = getSell5_num(), other$sell5_num = other.getSell5_num(); if ((this$sell5_num == null) ? (other$sell5_num != null) : !this$sell5_num.equals(other$sell5_num)) return false; Object this$minImg = getMinImg(), other$minImg = other.getMinImg(); if ((this$minImg == null) ? (other$minImg != null) : !this$minImg.equals(other$minImg)) return false; Object this$dayImg = getDayImg(), other$dayImg = other.getDayImg(); if ((this$dayImg == null) ? (other$dayImg != null) : !this$dayImg.equals(other$dayImg)) return false; Object this$weekImg = getWeekImg(), other$weekImg = other.getWeekImg(); if ((this$weekImg == null) ? (other$weekImg != null) : !this$weekImg.equals(other$weekImg)) return false; Object this$monthImg = getMonthImg(), other$monthImg = other.getMonthImg(); return !((this$monthImg == null) ? (other$monthImg != null) : !this$monthImg.equals(other$monthImg)); } protected boolean canEqual(Object other) { return other instanceof StockDbVO; } public int hashCode() { int PRIME = 59; int result = 1; result = result * 59 + getId(); Object $name = getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); Object $code = getCode(); result = result * 59 + (($code == null) ? 43 : $code.hashCode()); Object $spell = getSpell(); result = result * 59 + (($spell == null) ? 43 : $spell.hashCode()); Object $gid = getGid(); result = result * 59 + (($gid == null) ? 43 : $gid.hashCode()); Object $nowPrice = getNowPrice(); result = result * 59 + (($nowPrice == null) ? 43 : $nowPrice.hashCode()); Object $hcrate = getHcrate(); result = result * 59 + (($hcrate == null) ? 43 : $hcrate.hashCode()); Object $today_max = getToday_max(); result = result * 59 + (($today_max == null) ? 43 : $today_max.hashCode()); Object $today_min = getToday_min(); result = result * 59 + (($today_min == null) ? 43 : $today_min.hashCode()); Object $business_balance = getBusiness_balance(); result = result * 59 + (($business_balance == null) ? 43 : $business_balance.hashCode()); Object $business_amount = getBusiness_amount(); result = result * 59 + (($business_amount == null) ? 43 : $business_amount.hashCode()); Object $preclose_px = getPreclose_px(); result = result * 59 + (($preclose_px == null) ? 43 : $preclose_px.hashCode()); Object $open_px = getOpen_px(); result = result * 59 + (($open_px == null) ? 43 : $open_px.hashCode()); Object $buy1 = getBuy1(); result = result * 59 + (($buy1 == null) ? 43 : $buy1.hashCode()); Object $buy2 = getBuy2(); result = result * 59 + (($buy2 == null) ? 43 : $buy2.hashCode()); Object $buy3 = getBuy3(); result = result * 59 + (($buy3 == null) ? 43 : $buy3.hashCode()); Object $buy4 = getBuy4(); result = result * 59 + (($buy4 == null) ? 43 : $buy4.hashCode()); Object $buy5 = getBuy5(); result = result * 59 + (($buy5 == null) ? 43 : $buy5.hashCode()); Object $sell1 = getSell1(); result = result * 59 + (($sell1 == null) ? 43 : $sell1.hashCode()); Object $sell2 = getSell2(); result = result * 59 + (($sell2 == null) ? 43 : $sell2.hashCode()); Object $sell3 = getSell3(); result = result * 59 + (($sell3 == null) ? 43 : $sell3.hashCode()); Object $sell4 = getSell4(); result = result * 59 + (($sell4 == null) ? 43 : $sell4.hashCode()); Object $sell5 = getSell5(); result = result * 59 + (($sell5 == null) ? 43 : $sell5.hashCode()); Object $buy1_num = getBuy1_num(); result = result * 59 + (($buy1_num == null) ? 43 : $buy1_num.hashCode()); Object $buy2_num = getBuy2_num(); result = result * 59 + (($buy2_num == null) ? 43 : $buy2_num.hashCode()); Object $buy3_num = getBuy3_num(); result = result * 59 + (($buy3_num == null) ? 43 : $buy3_num.hashCode()); Object $buy4_num = getBuy4_num(); result = result * 59 + (($buy4_num == null) ? 43 : $buy4_num.hashCode()); Object $buy5_num = getBuy5_num(); result = result * 59 + (($buy5_num == null) ? 43 : $buy5_num.hashCode()); Object $sell1_num = getSell1_num(); result = result * 59 + (($sell1_num == null) ? 43 : $sell1_num.hashCode()); Object $sell2_num = getSell2_num(); result = result * 59 + (($sell2_num == null) ? 43 : $sell2_num.hashCode()); Object $sell3_num = getSell3_num(); result = result * 59 + (($sell3_num == null) ? 43 : $sell3_num.hashCode()); Object $sell4_num = getSell4_num(); result = result * 59 + (($sell4_num == null) ? 43 : $sell4_num.hashCode()); Object $sell5_num = getSell5_num(); result = result * 59 + (($sell5_num == null) ? 43 : $sell5_num.hashCode()); Object $minImg = getMinImg(); result = result * 59 + (($minImg == null) ? 43 : $minImg.hashCode()); Object $dayImg = getDayImg(); result = result * 59 + (($dayImg == null) ? 43 : $dayImg.hashCode()); Object $weekImg = getWeekImg(); result = result * 59 + (($weekImg == null) ? 43 : $weekImg.hashCode()); Object $monthImg = getMonthImg(); return result * 59 + (($monthImg == null) ? 43 : $monthImg.hashCode()); } public String toString() { 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() + ")"; } }