public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof BtsfSysAlipayNotifyJournal))
return false;
BtsfSysAlipayNotifyJournal castOther = (BtsfSysAlipayNotifyJournal) other;
return ((this.getId() == castOther.getId()) || (this.getId() != null
&& castOther.getId() != null && this.getId().equals(
castOther.getId())))
&& ((this.getPartner() == castOther.getPartner()) || (this
.getPartner() != null
&& castOther.getPartner() != null && this.getPartner()
.equals(castOther.getPartner())))
&& ((this.getDiscount() == castOther.getDiscount()) || (this
.getDiscount() != null
&& castOther.getDiscount() != null && this
.getDiscount().equals(castOther.getDiscount())))
&& ((this.getPaymentType() == castOther.getPaymentType()) || (this
.getPaymentType() != null
&& castOther.getPaymentType() != null && this
.getPaymentType().equals(castOther.getPaymentType())))
&& ((this.getSubject() == castOther.getSubject()) || (this
.getSubject() != null
&& castOther.getSubject() != null && this.getSubject()
.equals(castOther.getSubject())))
&& ((this.getTradeNo() == castOther.getTradeNo()) || (this
.getTradeNo() != null
&& castOther.getTradeNo() != null && this.getTradeNo()
.equals(castOther.getTradeNo())))
&& ((this.getBuyerEmail() == castOther.getBuyerEmail()) || (this
.getBuyerEmail() != null
&& castOther.getBuyerEmail() != null && this
.getBuyerEmail().equals(castOther.getBuyerEmail())))
&& ((this.getGmtCreate() == castOther.getGmtCreate()) || (this
.getGmtCreate() != null
&& castOther.getGmtCreate() != null && this
.getGmtCreate().equals(castOther.getGmtCreate())))
&& ((this.getQuantity() == castOther.getQuantity()) || (this
.getQuantity() != null
&& castOther.getQuantity() != null && this
.getQuantity().equals(castOther.getQuantity())))
&& ((this.getOutTradeNo() == castOther.getOutTradeNo()) || (this
.getOutTradeNo() != null
&& castOther.getOutTradeNo() != null && this
.getOutTradeNo().equals(castOther.getOutTradeNo())))
&& ((this.getSellerId() == castOther.getSellerId()) || (this
.getSellerId() != null
&& castOther.getSellerId() != null && this
.getSellerId().equals(castOther.getSellerId())))
&& ((this.getTradeStatus() == castOther.getTradeStatus()) || (this
.getTradeStatus() != null
&& castOther.getTradeStatus() != null && this
.getTradeStatus().equals(castOther.getTradeStatus())))
&& ((this.getIsTotalFeeAdjust() == castOther
.getIsTotalFeeAdjust()) || (this.getIsTotalFeeAdjust() != null
&& castOther.getIsTotalFeeAdjust() != null && this
.getIsTotalFeeAdjust().equals(
castOther.getIsTotalFeeAdjust())))
&& ((this.getTotalFee() == castOther.getTotalFee()) || (this
.getTotalFee() != null
&& castOther.getTotalFee() != null && this
.getTotalFee().equals(castOther.getTotalFee())))
&& ((this.getGmtPayment() == castOther.getGmtPayment()) || (this
.getGmtPayment() != null
&& castOther.getGmtPayment() != null && this
.getGmtPayment().equals(castOther.getGmtPayment())))
&& ((this.getSellerEmail() == castOther.getSellerEmail()) || (this
.getSellerEmail() != null
&& castOther.getSellerEmail() != null && this
.getSellerEmail().equals(castOther.getSellerEmail())))
&& ((this.getGmtClose() == castOther.getGmtClose()) || (this
.getGmtClose() != null
&& castOther.getGmtClose() != null && this
.getGmtClose().equals(castOther.getGmtClose())))
&& ((this.getPrice() == castOther.getPrice()) || (this
.getPrice() != null
&& castOther.getPrice() != null && this.getPrice()
.equals(castOther.getPrice())))
&& ((this.getBuyerId() == castOther.getBuyerId()) || (this
.getBuyerId() != null
&& castOther.getBuyerId() != null && this.getBuyerId()
.equals(castOther.getBuyerId())))
&& ((this.getUseCoupon() == castOther.getUseCoupon()) || (this
.getUseCoupon() != null
&& castOther.getUseCoupon() != null && this
.getUseCoupon().equals(castOther.getUseCoupon())))
&& ((this.getCreateTime() == castOther.getCreateTime()) || (this
.getCreateTime() != null
&& castOther.getCreateTime() != null && this
.getCreateTime().equals(castOther.getCreateTime())))
&& ((this.getLastUpdateTime() == castOther.getLastUpdateTime()) || (this
.getLastUpdateTime() != null
&& castOther.getLastUpdateTime() != null && this
.getLastUpdateTime().equals(
castOther.getLastUpdateTime())))
&& ((this.getPaymentMethod() == castOther.getPaymentMethod()) || (this
.getPaymentMethod() != null
&& castOther.getPaymentMethod() != null && this
.getPaymentMethod()
.equals(castOther.getPaymentMethod())));
}
public int hashCode() {
int result = 17;
result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
result = 37 * result
+ (getPartner() == null ? 0 : this.getPartner().hashCode());
result = 37 * result
+ (getDiscount() == null ? 0 : this.getDiscount().hashCode());
result = 37
* result
+ (getPaymentType() == null ? 0 : this.getPaymentType()
.hashCode());
result = 37 * result
+ (getSubject() == null ? 0 : this.getSubject().hashCode());
result = 37 * result
+ (getTradeNo() == null ? 0 : this.getTradeNo().hashCode());
result = 37
* result
+ (getBuyerEmail() == null ? 0 : this.getBuyerEmail()
.hashCode());
result = 37 * result
+ (getGmtCreate() == null ? 0 : this.getGmtCreate().hashCode());
result = 37 * result
+ (getQuantity() == null ? 0 : this.getQuantity().hashCode());
result = 37
* result
+ (getOutTradeNo() == null ? 0 : this.getOutTradeNo()
.hashCode());
result = 37 * result
+ (getSellerId() == null ? 0 : this.getSellerId().hashCode());
result = 37
* result
+ (getTradeStatus() == null ? 0 : this.getTradeStatus()
.hashCode());
result = 37
* result
+ (getIsTotalFeeAdjust() == null ? 0 : this
.getIsTotalFeeAdjust().hashCode());
result = 37 * result
+ (getTotalFee() == null ? 0 : this.getTotalFee().hashCode());
result = 37
* result
+ (getGmtPayment() == null ? 0 : this.getGmtPayment()
.hashCode());
result = 37
* result
+ (getSellerEmail() == null ? 0 : this.getSellerEmail()
.hashCode());
result = 37 * result
+ (getGmtClose() == null ? 0 : this.getGmtClose().hashCode());
result = 37 * result
+ (getPrice() == null ? 0 : this.getPrice().hashCode());
result = 37 * result
+ (getBuyerId() == null ? 0 : this.getBuyerId().hashCode());
result = 37 * result
+ (getUseCoupon() == null ? 0 : this.getUseCoupon().hashCode());
result = 37
* result
+ (getCreateTime() == null ? 0 : this.getCreateTime()
.hashCode());
result = 37
* result
+ (getLastUpdateTime() == null ? 0 : this.getLastUpdateTime()
.hashCode());
result = 37
* result
+ (getPaymentMethod() == null ? 0 : this.getPaymentMethod()
.hashCode());
return result;
}