package com.hai.entity; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * out_recharge_order * @author */ /** * * 代码由工具生成 * **/ public class OutRechargeOrder implements Serializable { /** * 主键 */ private Long id; /** * 充值金额 */ private BigDecimal rechargePrice; /** * 类型:1 话费充值 */ private Integer type; /** * 运营商 */ private String operatorName; /** * 1:电信运营商 2:移动运营商 3:联通运营商 */ private Integer operatorType; /** * 充值订单号 */ private String orderNo; /** * 1:快充 2:慢充 */ private Integer rechargeType; /** * 用户的优惠券high_discount_user_rel表的id */ private Long memDiscountId; /** * 用户的优惠券名称 */ private String memDiscountName; /** * 用户表ID */ private Long userId; /** * 用户名称 */ private String userName; /** * 用户电话 */ private String userPhone; /** * 商品ID */ private Long goodsId; /** * 充值内容(电话号码, 卡号) */ private String rechargeContent; /** * 1:支付宝 2:微信 3:汇联通工会卡 4:银联 5:银联分期 6:商户预充值 */ private Integer payType; /** * 工会卡号 */ private String laborUnionCard; /** * 积分数量 */ private BigDecimal integralNum; /** * 优惠券抵扣金额 */ private BigDecimal discountDeductionPrice; /** * 积分抵扣金额 */ private BigDecimal integralDeductionPrice; /** * 应付金额 */ private BigDecimal payPrice; /** * 实际金额 */ private BigDecimal payRealPrice; /** * 支付流水号 */ private String paySerialNo; /** * 生成时间 */ private Date createTimed; /** * 支付时间 */ private Date payTime; /** * 取消时间 */ private Date cancelTime; /** * 完成时间 */ private Date finishTime; /** * 退款订单号 */ private String outRefundNo; /** * 订单金额 */ private BigDecimal orderPrice; /** * 退款时间 */ private Date refundTime; /** * 第三方退款订单号 */ private String tpRefundOrderNo; /** * 第三方退款订单号 */ private String refundId; /** * 退款金额 */ private BigDecimal refundFee; /** * 公司id */ private Long companyId; /** * 订单支付状态 : 101.待支付 102.已支付 100.已完成 104.已取消 105.已退款 */ private Integer payStatus; /** * 商户号 */ private String merchId; /** * 充值状态:201:充值中 202:充值成功 203:充值失败 204:未充值 */ private Integer rechargeStatus; private String ext1; private String ext2; private String ext3; private static final long serialVersionUID = 1L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public BigDecimal getRechargePrice() { return rechargePrice; } public void setRechargePrice(BigDecimal rechargePrice) { this.rechargePrice = rechargePrice; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getOperatorName() { return operatorName; } public void setOperatorName(String operatorName) { this.operatorName = operatorName; } public Integer getOperatorType() { return operatorType; } public void setOperatorType(Integer operatorType) { this.operatorType = operatorType; } public String getOrderNo() { return orderNo; } public void setOrderNo(String orderNo) { this.orderNo = orderNo; } public Integer getRechargeType() { return rechargeType; } public void setRechargeType(Integer rechargeType) { this.rechargeType = rechargeType; } public Long getMemDiscountId() { return memDiscountId; } public void setMemDiscountId(Long memDiscountId) { this.memDiscountId = memDiscountId; } public String getMemDiscountName() { return memDiscountName; } public void setMemDiscountName(String memDiscountName) { this.memDiscountName = memDiscountName; } public Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getUserPhone() { return userPhone; } public void setUserPhone(String userPhone) { this.userPhone = userPhone; } public Long getGoodsId() { return goodsId; } public void setGoodsId(Long goodsId) { this.goodsId = goodsId; } public String getRechargeContent() { return rechargeContent; } public void setRechargeContent(String rechargeContent) { this.rechargeContent = rechargeContent; } public Integer getPayType() { return payType; } public void setPayType(Integer payType) { this.payType = payType; } public String getLaborUnionCard() { return laborUnionCard; } public void setLaborUnionCard(String laborUnionCard) { this.laborUnionCard = laborUnionCard; } public BigDecimal getIntegralNum() { return integralNum; } public void setIntegralNum(BigDecimal integralNum) { this.integralNum = integralNum; } public BigDecimal getDiscountDeductionPrice() { return discountDeductionPrice; } public void setDiscountDeductionPrice(BigDecimal discountDeductionPrice) { this.discountDeductionPrice = discountDeductionPrice; } public BigDecimal getIntegralDeductionPrice() { return integralDeductionPrice; } public void setIntegralDeductionPrice(BigDecimal integralDeductionPrice) { this.integralDeductionPrice = integralDeductionPrice; } public BigDecimal getPayPrice() { return payPrice; } public void setPayPrice(BigDecimal payPrice) { this.payPrice = payPrice; } public BigDecimal getPayRealPrice() { return payRealPrice; } public void setPayRealPrice(BigDecimal payRealPrice) { this.payRealPrice = payRealPrice; } public String getPaySerialNo() { return paySerialNo; } public void setPaySerialNo(String paySerialNo) { this.paySerialNo = paySerialNo; } public Date getCreateTimed() { return createTimed; } public void setCreateTimed(Date createTimed) { this.createTimed = createTimed; } public Date getPayTime() { return payTime; } public void setPayTime(Date payTime) { this.payTime = payTime; } public Date getCancelTime() { return cancelTime; } public void setCancelTime(Date cancelTime) { this.cancelTime = cancelTime; } public Date getFinishTime() { return finishTime; } public void setFinishTime(Date finishTime) { this.finishTime = finishTime; } public String getOutRefundNo() { return outRefundNo; } public void setOutRefundNo(String outRefundNo) { this.outRefundNo = outRefundNo; } public BigDecimal getOrderPrice() { return orderPrice; } public void setOrderPrice(BigDecimal orderPrice) { this.orderPrice = orderPrice; } public Date getRefundTime() { return refundTime; } public void setRefundTime(Date refundTime) { this.refundTime = refundTime; } public String getTpRefundOrderNo() { return tpRefundOrderNo; } public void setTpRefundOrderNo(String tpRefundOrderNo) { this.tpRefundOrderNo = tpRefundOrderNo; } public String getRefundId() { return refundId; } public void setRefundId(String refundId) { this.refundId = refundId; } public BigDecimal getRefundFee() { return refundFee; } public void setRefundFee(BigDecimal refundFee) { this.refundFee = refundFee; } public Long getCompanyId() { return companyId; } public void setCompanyId(Long companyId) { this.companyId = companyId; } public Integer getPayStatus() { return payStatus; } public void setPayStatus(Integer payStatus) { this.payStatus = payStatus; } public String getMerchId() { return merchId; } public void setMerchId(String merchId) { this.merchId = merchId; } public Integer getRechargeStatus() { return rechargeStatus; } public void setRechargeStatus(Integer rechargeStatus) { this.rechargeStatus = rechargeStatus; } public String getExt1() { return ext1; } public void setExt1(String ext1) { this.ext1 = ext1; } public String getExt2() { return ext2; } public void setExt2(String ext2) { this.ext2 = ext2; } public String getExt3() { return ext3; } public void setExt3(String ext3) { this.ext3 = ext3; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } OutRechargeOrder other = (OutRechargeOrder) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getRechargePrice() == null ? other.getRechargePrice() == null : this.getRechargePrice().equals(other.getRechargePrice())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName())) && (this.getOperatorType() == null ? other.getOperatorType() == null : this.getOperatorType().equals(other.getOperatorType())) && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) && (this.getRechargeType() == null ? other.getRechargeType() == null : this.getRechargeType().equals(other.getRechargeType())) && (this.getMemDiscountId() == null ? other.getMemDiscountId() == null : this.getMemDiscountId().equals(other.getMemDiscountId())) && (this.getMemDiscountName() == null ? other.getMemDiscountName() == null : this.getMemDiscountName().equals(other.getMemDiscountName())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName())) && (this.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone())) && (this.getGoodsId() == null ? other.getGoodsId() == null : this.getGoodsId().equals(other.getGoodsId())) && (this.getRechargeContent() == null ? other.getRechargeContent() == null : this.getRechargeContent().equals(other.getRechargeContent())) && (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType())) && (this.getLaborUnionCard() == null ? other.getLaborUnionCard() == null : this.getLaborUnionCard().equals(other.getLaborUnionCard())) && (this.getIntegralNum() == null ? other.getIntegralNum() == null : this.getIntegralNum().equals(other.getIntegralNum())) && (this.getDiscountDeductionPrice() == null ? other.getDiscountDeductionPrice() == null : this.getDiscountDeductionPrice().equals(other.getDiscountDeductionPrice())) && (this.getIntegralDeductionPrice() == null ? other.getIntegralDeductionPrice() == null : this.getIntegralDeductionPrice().equals(other.getIntegralDeductionPrice())) && (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice())) && (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice())) && (this.getPaySerialNo() == null ? other.getPaySerialNo() == null : this.getPaySerialNo().equals(other.getPaySerialNo())) && (this.getCreateTimed() == null ? other.getCreateTimed() == null : this.getCreateTimed().equals(other.getCreateTimed())) && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime())) && (this.getCancelTime() == null ? other.getCancelTime() == null : this.getCancelTime().equals(other.getCancelTime())) && (this.getFinishTime() == null ? other.getFinishTime() == null : this.getFinishTime().equals(other.getFinishTime())) && (this.getOutRefundNo() == null ? other.getOutRefundNo() == null : this.getOutRefundNo().equals(other.getOutRefundNo())) && (this.getOrderPrice() == null ? other.getOrderPrice() == null : this.getOrderPrice().equals(other.getOrderPrice())) && (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime())) && (this.getTpRefundOrderNo() == null ? other.getTpRefundOrderNo() == null : this.getTpRefundOrderNo().equals(other.getTpRefundOrderNo())) && (this.getRefundId() == null ? other.getRefundId() == null : this.getRefundId().equals(other.getRefundId())) && (this.getRefundFee() == null ? other.getRefundFee() == null : this.getRefundFee().equals(other.getRefundFee())) && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId())) && (this.getPayStatus() == null ? other.getPayStatus() == null : this.getPayStatus().equals(other.getPayStatus())) && (this.getMerchId() == null ? other.getMerchId() == null : this.getMerchId().equals(other.getMerchId())) && (this.getRechargeStatus() == null ? other.getRechargeStatus() == null : this.getRechargeStatus().equals(other.getRechargeStatus())) && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getRechargePrice() == null) ? 0 : getRechargePrice().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode()); result = prime * result + ((getOperatorType() == null) ? 0 : getOperatorType().hashCode()); result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); result = prime * result + ((getRechargeType() == null) ? 0 : getRechargeType().hashCode()); result = prime * result + ((getMemDiscountId() == null) ? 0 : getMemDiscountId().hashCode()); result = prime * result + ((getMemDiscountName() == null) ? 0 : getMemDiscountName().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode()); result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode()); result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode()); result = prime * result + ((getRechargeContent() == null) ? 0 : getRechargeContent().hashCode()); result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode()); result = prime * result + ((getLaborUnionCard() == null) ? 0 : getLaborUnionCard().hashCode()); result = prime * result + ((getIntegralNum() == null) ? 0 : getIntegralNum().hashCode()); result = prime * result + ((getDiscountDeductionPrice() == null) ? 0 : getDiscountDeductionPrice().hashCode()); result = prime * result + ((getIntegralDeductionPrice() == null) ? 0 : getIntegralDeductionPrice().hashCode()); result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode()); result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode()); result = prime * result + ((getPaySerialNo() == null) ? 0 : getPaySerialNo().hashCode()); result = prime * result + ((getCreateTimed() == null) ? 0 : getCreateTimed().hashCode()); result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode()); result = prime * result + ((getCancelTime() == null) ? 0 : getCancelTime().hashCode()); result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().hashCode()); result = prime * result + ((getOutRefundNo() == null) ? 0 : getOutRefundNo().hashCode()); result = prime * result + ((getOrderPrice() == null) ? 0 : getOrderPrice().hashCode()); result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode()); result = prime * result + ((getTpRefundOrderNo() == null) ? 0 : getTpRefundOrderNo().hashCode()); result = prime * result + ((getRefundId() == null) ? 0 : getRefundId().hashCode()); result = prime * result + ((getRefundFee() == null) ? 0 : getRefundFee().hashCode()); result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode()); result = prime * result + ((getPayStatus() == null) ? 0 : getPayStatus().hashCode()); result = prime * result + ((getMerchId() == null) ? 0 : getMerchId().hashCode()); result = prime * result + ((getRechargeStatus() == null) ? 0 : getRechargeStatus().hashCode()); result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode()); return result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); sb.append(", rechargePrice=").append(rechargePrice); sb.append(", type=").append(type); sb.append(", operatorName=").append(operatorName); sb.append(", operatorType=").append(operatorType); sb.append(", orderNo=").append(orderNo); sb.append(", rechargeType=").append(rechargeType); sb.append(", memDiscountId=").append(memDiscountId); sb.append(", memDiscountName=").append(memDiscountName); sb.append(", userId=").append(userId); sb.append(", userName=").append(userName); sb.append(", userPhone=").append(userPhone); sb.append(", goodsId=").append(goodsId); sb.append(", rechargeContent=").append(rechargeContent); sb.append(", payType=").append(payType); sb.append(", laborUnionCard=").append(laborUnionCard); sb.append(", integralNum=").append(integralNum); sb.append(", discountDeductionPrice=").append(discountDeductionPrice); sb.append(", integralDeductionPrice=").append(integralDeductionPrice); sb.append(", payPrice=").append(payPrice); sb.append(", payRealPrice=").append(payRealPrice); sb.append(", paySerialNo=").append(paySerialNo); sb.append(", createTimed=").append(createTimed); sb.append(", payTime=").append(payTime); sb.append(", cancelTime=").append(cancelTime); sb.append(", finishTime=").append(finishTime); sb.append(", outRefundNo=").append(outRefundNo); sb.append(", orderPrice=").append(orderPrice); sb.append(", refundTime=").append(refundTime); sb.append(", tpRefundOrderNo=").append(tpRefundOrderNo); sb.append(", refundId=").append(refundId); sb.append(", refundFee=").append(refundFee); sb.append(", companyId=").append(companyId); sb.append(", payStatus=").append(payStatus); sb.append(", merchId=").append(merchId); sb.append(", rechargeStatus=").append(rechargeStatus); sb.append(", ext1=").append(ext1); sb.append(", ext2=").append(ext2); sb.append(", ext3=").append(ext3); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); return sb.toString(); } }