package com.nq.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.beans.ConstructorProperties; import java.math.BigDecimal; @Data public class SiteSetting { private Integer id; private BigDecimal buyFee; private BigDecimal sellFee; private BigDecimal stayFee; private BigDecimal dutyFee; private Integer stayMaxDays; private Integer buyMinAmt; private Integer chargeMinAmt; private Integer buyMinNum; private BigDecimal forceStopFee; private BigDecimal buyMaxAmtPercent; private BigDecimal forceStopPercent; private BigDecimal hightAndLow; private Integer withMinAmt; private BigDecimal creaseMaxPercent; private Integer buyMaxNum; public void setId(Integer id) { this.id = id; } private Integer withTimeBegin; private Integer withTimeEnd; private String transAmBegin; private String transAmEnd; private String transPmBegin; private String transPmEnd; private String transAmBeginUs; private String transAmEndUs; private String transPmBeginUs; private String transPmEndUs; private String transAmBeginhk; private String transAmEndhk; private String transPmBeginhk; private String transPmEndhk; private Integer withFeeSingle; private BigDecimal withFeePercent; private String siteLever; private Integer buySameTimes; private Integer buySameNums; private Integer buyNumTimes; private Integer buyNumLots; private Integer cantSellTimes; private BigDecimal kcCreaseMaxPercent; private Integer stockDays; private BigDecimal stockRate; /*强平提醒比例*/ private BigDecimal forceStopRemindRatio; /*创业涨跌比例*/ private BigDecimal cyCreaseMaxPercent; //vip抢筹密码 private String vipPassword; private Integer dzSongP; private Integer dzMinByCount; public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof SiteSetting)) return false; SiteSetting other = (SiteSetting) o; if (!other.canEqual(this)) return false; Object this$id = getId(), other$id = other.getId(); if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false; Object this$buyFee = getBuyFee(), other$buyFee = other.getBuyFee(); if ((this$buyFee == null) ? (other$buyFee != null) : !this$buyFee.equals(other$buyFee)) return false; Object this$sellFee = getSellFee(), other$sellFee = other.getSellFee(); if ((this$sellFee == null) ? (other$sellFee != null) : !this$sellFee.equals(other$sellFee)) return false; Object this$stayFee = getStayFee(), other$stayFee = other.getStayFee(); if ((this$stayFee == null) ? (other$stayFee != null) : !this$stayFee.equals(other$stayFee)) return false; Object this$dutyFee = getDutyFee(), other$dutyFee = other.getDutyFee(); if ((this$dutyFee == null) ? (other$dutyFee != null) : !this$dutyFee.equals(other$dutyFee)) return false; Object this$stayMaxDays = getStayMaxDays(), other$stayMaxDays = other.getStayMaxDays(); if ((this$stayMaxDays == null) ? (other$stayMaxDays != null) : !this$stayMaxDays.equals(other$stayMaxDays)) return false; Object this$buyMinAmt = getBuyMinAmt(), other$buyMinAmt = other.getBuyMinAmt(); if ((this$buyMinAmt == null) ? (other$buyMinAmt != null) : !this$buyMinAmt.equals(other$buyMinAmt)) return false; Object this$chargeMinAmt = getChargeMinAmt(), other$chargeMinAmt = other.getChargeMinAmt(); if ((this$chargeMinAmt == null) ? (other$chargeMinAmt != null) : !this$chargeMinAmt.equals(other$chargeMinAmt)) return false; Object this$buyMinNum = getBuyMinNum(), other$buyMinNum = other.getBuyMinNum(); if ((this$buyMinNum == null) ? (other$buyMinNum != null) : !this$buyMinNum.equals(other$buyMinNum)) return false; Object this$forceStopFee = getForceStopFee(), other$forceStopFee = other.getForceStopFee(); if ((this$forceStopFee == null) ? (other$forceStopFee != null) : !this$forceStopFee.equals(other$forceStopFee)) return false; Object this$buyMaxAmtPercent = getBuyMaxAmtPercent(), other$buyMaxAmtPercent = other.getBuyMaxAmtPercent(); if ((this$buyMaxAmtPercent == null) ? (other$buyMaxAmtPercent != null) : !this$buyMaxAmtPercent.equals(other$buyMaxAmtPercent)) return false; Object this$forceStopPercent = getForceStopPercent(), other$forceStopPercent = other.getForceStopPercent(); if ((this$forceStopPercent == null) ? (other$forceStopPercent != null) : !this$forceStopPercent.equals(other$forceStopPercent)) return false; Object this$hightAndLow = getHightAndLow(), other$hightAndLow = other.getHightAndLow(); if ((this$hightAndLow == null) ? (other$hightAndLow != null) : !this$hightAndLow.equals(other$hightAndLow)) return false; Object this$withMinAmt = getWithMinAmt(), other$withMinAmt = other.getWithMinAmt(); if ((this$withMinAmt == null) ? (other$withMinAmt != null) : !this$withMinAmt.equals(other$withMinAmt)) return false; Object this$creaseMaxPercent = getCreaseMaxPercent(), other$creaseMaxPercent = other.getCreaseMaxPercent(); if ((this$creaseMaxPercent == null) ? (other$creaseMaxPercent != null) : !this$creaseMaxPercent.equals(other$creaseMaxPercent)) return false; Object this$buyMaxNum = getBuyMaxNum(), other$buyMaxNum = other.getBuyMaxNum(); if ((this$buyMaxNum == null) ? (other$buyMaxNum != null) : !this$buyMaxNum.equals(other$buyMaxNum)) return false; Object this$withTimeBegin = getWithTimeBegin(), other$withTimeBegin = other.getWithTimeBegin(); if ((this$withTimeBegin == null) ? (other$withTimeBegin != null) : !this$withTimeBegin.equals(other$withTimeBegin)) return false; Object this$withTimeEnd = getWithTimeEnd(), other$withTimeEnd = other.getWithTimeEnd(); if ((this$withTimeEnd == null) ? (other$withTimeEnd != null) : !this$withTimeEnd.equals(other$withTimeEnd)) return false; Object this$transAmBegin = getTransAmBegin(), other$transAmBegin = other.getTransAmBegin(); if ((this$transAmBegin == null) ? (other$transAmBegin != null) : !this$transAmBegin.equals(other$transAmBegin)) return false; Object this$transAmEnd = getTransAmEnd(), other$transAmEnd = other.getTransAmEnd(); if ((this$transAmEnd == null) ? (other$transAmEnd != null) : !this$transAmEnd.equals(other$transAmEnd)) return false; Object this$transPmBegin = getTransPmBegin(), other$transPmBegin = other.getTransPmBegin(); if ((this$transPmBegin == null) ? (other$transPmBegin != null) : !this$transPmBegin.equals(other$transPmBegin)) return false; Object this$transPmEnd = getTransPmEnd(), other$transPmEnd = other.getTransPmEnd(); if ((this$transPmEnd == null) ? (other$transPmEnd != null) : !this$transPmEnd.equals(other$transPmEnd)) return false; Object this$withFeeSingle = getWithFeeSingle(), other$withFeeSingle = other.getWithFeeSingle(); if ((this$withFeeSingle == null) ? (other$withFeeSingle != null) : !this$withFeeSingle.equals(other$withFeeSingle)) return false; Object this$withFeePercent = getWithFeePercent(), other$withFeePercent = other.getWithFeePercent(); if ((this$withFeePercent == null) ? (other$withFeePercent != null) : !this$withFeePercent.equals(other$withFeePercent)) return false; Object this$siteLever = getSiteLever(), other$siteLever = other.getSiteLever(); if ((this$siteLever == null) ? (other$siteLever != null) : !this$siteLever.equals(other$siteLever)) return false; Object this$buySameTimes = getBuySameTimes(), other$buySameTimes = other.getBuySameTimes(); if ((this$buySameTimes == null) ? (other$buySameTimes != null) : !this$buySameTimes.equals(other$buySameTimes)) return false; Object this$buySameNums = getBuySameNums(), other$buySameNums = other.getBuySameNums(); if ((this$buySameNums == null) ? (other$buySameNums != null) : !this$buySameNums.equals(other$buySameNums)) return false; Object this$buyNumTimes = getBuyNumTimes(), other$buyNumTimes = other.getBuyNumTimes(); if ((this$buyNumTimes == null) ? (other$buyNumTimes != null) : !this$buyNumTimes.equals(other$buyNumTimes)) return false; Object this$buyNumLots = getBuyNumLots(), other$buyNumLots = other.getBuyNumLots(); if ((this$buyNumLots == null) ? (other$buyNumLots != null) : !this$buyNumLots.equals(other$buyNumLots)) return false; Object this$cantSellTimes = getCantSellTimes(), other$cantSellTimes = other.getCantSellTimes(); if ((this$cantSellTimes == null) ? (other$cantSellTimes != null) : !this$cantSellTimes.equals(other$cantSellTimes)) return false; Object this$kcCreaseMaxPercent = getKcCreaseMaxPercent(), other$kcCreaseMaxPercent = other.getKcCreaseMaxPercent(); if ((this$kcCreaseMaxPercent == null) ? (other$kcCreaseMaxPercent != null) : !this$kcCreaseMaxPercent.equals(other$kcCreaseMaxPercent)) return false; Object this$stockDays = getStockDays(), other$stockDays = other.getStockDays(); if ((this$stockDays == null) ? (other$stockDays != null) : !this$stockDays.equals(other$stockDays)) return false; Object this$stockRate = getStockRate(), other$stockRate = other.getStockRate(); return !((this$stockRate == null) ? (other$stockRate != null) : !this$stockRate.equals(other$stockRate)); } protected boolean canEqual(Object other) { return other instanceof SiteSetting; } public int hashCode() { int PRIME = 59; int result = 1; Object $id = getId(); result = result * 59 + (($id == null) ? 43 : $id.hashCode()); Object $buyFee = getBuyFee(); result = result * 59 + (($buyFee == null) ? 43 : $buyFee.hashCode()); Object $sellFee = getSellFee(); result = result * 59 + (($sellFee == null) ? 43 : $sellFee.hashCode()); Object $stayFee = getStayFee(); result = result * 59 + (($stayFee == null) ? 43 : $stayFee.hashCode()); Object $dutyFee = getDutyFee(); result = result * 59 + (($dutyFee == null) ? 43 : $dutyFee.hashCode()); Object $stayMaxDays = getStayMaxDays(); result = result * 59 + (($stayMaxDays == null) ? 43 : $stayMaxDays.hashCode()); Object $buyMinAmt = getBuyMinAmt(); result = result * 59 + (($buyMinAmt == null) ? 43 : $buyMinAmt.hashCode()); Object $chargeMinAmt = getChargeMinAmt(); result = result * 59 + (($chargeMinAmt == null) ? 43 : $chargeMinAmt.hashCode()); Object $buyMinNum = getBuyMinNum(); result = result * 59 + (($buyMinNum == null) ? 43 : $buyMinNum.hashCode()); Object $forceStopFee = getForceStopFee(); result = result * 59 + (($forceStopFee == null) ? 43 : $forceStopFee.hashCode()); Object $buyMaxAmtPercent = getBuyMaxAmtPercent(); result = result * 59 + (($buyMaxAmtPercent == null) ? 43 : $buyMaxAmtPercent.hashCode()); Object $forceStopPercent = getForceStopPercent(); result = result * 59 + (($forceStopPercent == null) ? 43 : $forceStopPercent.hashCode()); Object $hightAndLow = getHightAndLow(); result = result * 59 + (($hightAndLow == null) ? 43 : $hightAndLow.hashCode()); Object $withMinAmt = getWithMinAmt(); result = result * 59 + (($withMinAmt == null) ? 43 : $withMinAmt.hashCode()); Object $creaseMaxPercent = getCreaseMaxPercent(); result = result * 59 + (($creaseMaxPercent == null) ? 43 : $creaseMaxPercent.hashCode()); Object $buyMaxNum = getBuyMaxNum(); result = result * 59 + (($buyMaxNum == null) ? 43 : $buyMaxNum.hashCode()); Object $withTimeBegin = getWithTimeBegin(); result = result * 59 + (($withTimeBegin == null) ? 43 : $withTimeBegin.hashCode()); Object $withTimeEnd = getWithTimeEnd(); result = result * 59 + (($withTimeEnd == null) ? 43 : $withTimeEnd.hashCode()); Object $transAmBegin = getTransAmBegin(); result = result * 59 + (($transAmBegin == null) ? 43 : $transAmBegin.hashCode()); Object $transAmEnd = getTransAmEnd(); result = result * 59 + (($transAmEnd == null) ? 43 : $transAmEnd.hashCode()); Object $transPmBegin = getTransPmBegin(); result = result * 59 + (($transPmBegin == null) ? 43 : $transPmBegin.hashCode()); Object $transPmEnd = getTransPmEnd(); result = result * 59 + (($transPmEnd == null) ? 43 : $transPmEnd.hashCode()); Object $withFeeSingle = getWithFeeSingle(); result = result * 59 + (($withFeeSingle == null) ? 43 : $withFeeSingle.hashCode()); Object $withFeePercent = getWithFeePercent(); result = result * 59 + (($withFeePercent == null) ? 43 : $withFeePercent.hashCode()); Object $siteLever = getSiteLever(); result = result * 59 + (($siteLever == null) ? 43 : $siteLever.hashCode()); Object $buySameTimes = getBuySameTimes(); result = result * 59 + (($buySameTimes == null) ? 43 : $buySameTimes.hashCode()); Object $buySameNums = getBuySameNums(); result = result * 59 + (($buySameNums == null) ? 43 : $buySameNums.hashCode()); Object $buyNumTimes = getBuyNumTimes(); result = result * 59 + (($buyNumTimes == null) ? 43 : $buyNumTimes.hashCode()); Object $buyNumLots = getBuyNumLots(); result = result * 59 + (($buyNumLots == null) ? 43 : $buyNumLots.hashCode()); Object $cantSellTimes = getCantSellTimes(); result = result * 59 + (($cantSellTimes == null) ? 43 : $cantSellTimes.hashCode()); Object $kcCreaseMaxPercent = getKcCreaseMaxPercent(); result = result * 59 + (($kcCreaseMaxPercent == null) ? 43 : $kcCreaseMaxPercent.hashCode()); Object $stockDays = getStockDays(); result = result * 59 + (($stockDays == null) ? 43 : $stockDays.hashCode()); Object $stockRate = getStockRate(); return result * 59 + (($stockRate == null) ? 43 : $stockRate.hashCode()); } public String toString() { return "SiteSetting(id=" + getId() + ", buyFee=" + getBuyFee() + ", sellFee=" + getSellFee() + ", stayFee=" + getStayFee() + ", dutyFee=" + getDutyFee() + ", stayMaxDays=" + getStayMaxDays() + ", buyMinAmt=" + getBuyMinAmt() + ", chargeMinAmt=" + getChargeMinAmt() + ", buyMinNum=" + getBuyMinNum() + ", forceStopFee=" + getForceStopFee() + ", buyMaxAmtPercent=" + getBuyMaxAmtPercent() + ", forceStopPercent=" + getForceStopPercent() + ", hightAndLow=" + getHightAndLow() + ", withMinAmt=" + getWithMinAmt() + ", creaseMaxPercent=" + getCreaseMaxPercent() + ", buyMaxNum=" + getBuyMaxNum() + ", withTimeBegin=" + getWithTimeBegin() + ", withTimeEnd=" + getWithTimeEnd() + ", transAmBegin=" + getTransAmBegin() + ", transAmEnd=" + getTransAmEnd() + ", transPmBegin=" + getTransPmBegin() + ", transPmEnd=" + getTransPmEnd() +", transAmBeginUs=" + getTransAmBeginUs() + ", transAmEndUs=" + getTransAmEndUs() + ", transPmBeginUs=" + getTransPmBeginUs() + ", transPmEndUs=" + getTransPmEndUs() + ", withFeeSingle=" + getWithFeeSingle() + ", withFeePercent=" + getWithFeePercent() + ", siteLever=" + getSiteLever() + ", buySameTimes=" + getBuySameTimes() + ", buySameNums=" + getBuySameNums() + ", buyNumTimes=" + getBuyNumTimes() + ", buyNumLots=" + getBuyNumLots() + ", cantSellTimes=" + getCantSellTimes() + ", kcCreaseMaxPercent=" + getKcCreaseMaxPercent() + ", stockDays=" + getStockDays() + ", stockRate=" + getStockRate() + ", forceStopRemindRatio=" + getForceStopRemindRatio()+ ", cyCreaseMaxPercent=" + getCyCreaseMaxPercent()+ ")"; } public SiteSetting() { } @ConstructorProperties({"id", "buyFee", "sellFee", "stayFee", "dutyFee", "stayMaxDays", "buyMinAmt", "chargeMinAmt", "buyMinNum", "forceStopFee", "buyMaxAmtPercent", "forceStopPercent", "hightAndLow", "withMinAmt", "creaseMaxPercent", "buyMaxNum", "withTimeBegin", "withTimeEnd", "transAmBegin", "transAmEnd", "transPmBegin", "transPmEnd", "transAmBeginUs", "transAmEndUs", "transPmBeginUs","transPmEnd", "transAmBeginhk", "transAmEndhk", "transPmBeginhk", "transPmEndhk","withFeeSingle", "withFeePercent", "siteLever", "buySameTimes", "buySameNums", "buyNumTimes", "buyNumLots", "cantSellTimes", "kcCreaseMaxPercent", "stockDays", "stockRate","forceStopRemindRatio", "cyCreaseMaxPercent","vipPassWord","dzSongP","dzMinByCount"}) public SiteSetting(Integer id, BigDecimal buyFee, BigDecimal sellFee, BigDecimal stayFee, BigDecimal dutyFee, Integer stayMaxDays, Integer buyMinAmt, Integer chargeMinAmt, Integer buyMinNum, BigDecimal forceStopFee, BigDecimal buyMaxAmtPercent, BigDecimal forceStopPercent, BigDecimal hightAndLow, Integer withMinAmt, BigDecimal creaseMaxPercent, Integer buyMaxNum, Integer withTimeBegin, Integer withTimeEnd, String transAmBegin, String transAmEnd, String transPmBegin, String transPmEnd, String transAmBeginUs, String transAmEndUs, String transPmBeginUs, String transPmEndUs,String transAmBeginhk, String transAmEndhk, String transPmBeginhk, String transPmEndhk, Integer withFeeSingle, BigDecimal withFeePercent, String siteLever, Integer buySameTimes, Integer buySameNums, Integer buyNumTimes, Integer buyNumLots, Integer cantSellTimes, BigDecimal kcCreaseMaxPercent, Integer stockDays, BigDecimal stockRate, BigDecimal forceStopRemindRatio, BigDecimal cyCreaseMaxPercent, String vipPassWord,Integer dzSongP,Integer dzMinByCount) { this.id = id; this.buyFee = buyFee; this.sellFee = sellFee; this.stayFee = stayFee; this.dutyFee = dutyFee; this.stayMaxDays = stayMaxDays; this.buyMinAmt = buyMinAmt; this.chargeMinAmt = chargeMinAmt; this.buyMinNum = buyMinNum; this.forceStopFee = forceStopFee; this.buyMaxAmtPercent = buyMaxAmtPercent; this.forceStopPercent = forceStopPercent; this.hightAndLow = hightAndLow; this.withMinAmt = withMinAmt; this.creaseMaxPercent = creaseMaxPercent; this.buyMaxNum = buyMaxNum; this.withTimeBegin = withTimeBegin; this.withTimeEnd = withTimeEnd; this.transAmBegin = transAmBegin; this.transAmEnd = transAmEnd; this.transPmBegin = transPmBegin; this.transPmEnd = transPmEnd; this.transAmBeginUs = transAmBeginUs; this.transAmEndUs = transAmEndUs; this.transPmBeginUs = transPmBeginUs; this.transPmEndUs = transPmEndUs; this.transAmBeginhk = transAmBeginhk; this.transAmEndhk = transAmEndhk; this.transPmBeginhk = transPmBeginhk; this.transPmEndhk = transPmEndhk; this.withFeeSingle = withFeeSingle; this.withFeePercent = withFeePercent; this.siteLever = siteLever; this.buySameTimes = buySameTimes; this.buySameNums = buySameNums; this.buyNumTimes = buyNumTimes; this.buyNumLots = buyNumLots; this.cantSellTimes = cantSellTimes; this.kcCreaseMaxPercent = kcCreaseMaxPercent; this.stockDays = stockDays; this.stockRate = stockRate; this.forceStopRemindRatio= forceStopRemindRatio; this.cyCreaseMaxPercent = cyCreaseMaxPercent; this.vipPassword = vipPassWord; this.dzSongP = dzSongP; this.dzMinByCount = dzMinByCount; } }