嗨森逛服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hai-server/hai-service/src/main/java/com/hai/entity/OutRechargeOrder.java

617 lines
20 KiB

package com.hai.entity;
import java.io.Serializable;
4 years ago
import java.math.BigDecimal;
import java.util.Date;
/**
* out_recharge_order
* @author
*/
/**
*
* 代码由工具生成
*
**/
4 years ago
public class OutRechargeOrder implements Serializable {
/**
* 主键
*/
private Long id;
3 years ago
/**
* 类型1 话费充值
*/
private Integer type;
/**
* 运营商
*/
private String operatorName;
3 years ago
/**
* 1:电信运营商 2移动运营商 3联通运营商
*/
private Integer operatorType;
/**
3 years ago
* 充值订单号
*/
private String orderNo;
3 years ago
/**
* 1:快充 2慢充
*/
private Integer rechargeType;
3 years ago
/**
* 用户的优惠券high_discount_user_rel表的id
*/
private Long memDiscountId;
/**
* 用户的优惠券名称
*/
private String memDiscountName;
/**
* 用户表ID
*/
private Long userId;
/**
* 用户名称
*/
private String userName;
/**
* 用户电话
*/
private String userPhone;
/**
3 years ago
* 商品ID
*/
3 years ago
private Long goodsId;
/**
3 years ago
* 充值内容电话号码 卡号
*/
3 years ago
private String rechargeContent;
/**
3 years ago
* 1支付宝 2微信 3汇联通工会卡 4银联 5银联分期
*/
3 years ago
private Integer payType;
/**
3 years ago
* 工会卡号
*/
3 years ago
private String laborUnionCard;
3 years ago
/**
3 years ago
* 积分数量
3 years ago
*/
3 years ago
private Long integralNum;
3 years ago
/**
3 years ago
* 优惠券抵扣金额
*/
3 years ago
private BigDecimal discountDeductionPrice;
/**
3 years ago
* 积分抵扣金额
*/
3 years ago
private BigDecimal integralDeductionPrice;
3 years ago
/**
3 years ago
* 实际金额
*/
3 years ago
private BigDecimal payRealPrice;
/**
3 years ago
* 支付流水号
*/
3 years ago
private String paySerialNo;
/**
* 生成时间
*/
private Date createTimed;
/**
* 支付时间
*/
private Date payTime;
/**
* 取消时间
*/
private Date cancelTime;
/**
* 完成时间
*/
private Date finishTime;
4 years ago
/**
3 years ago
* 退款订单号
4 years ago
*/
private String outRefundNo;
3 years ago
/**
* 订单金额
*/
private BigDecimal orderPrice;
4 years ago
/**
* 退款时间
*/
private Date refundTime;
/**
* 第三方退款订单号
*/
3 years ago
private String tpRefundOrderNo;
4 years ago
3 years ago
/**
* 第三方退款订单号
*/
private String refundId;
4 years ago
/**
* 退款金额
*/
4 years ago
private BigDecimal refundFee;
4 years ago
3 years ago
/**
* 区域编码
*/
private String regionId;
3 years ago
/**
* 订单支付状态 101.待支付 102.已支付 100.已完成 104.已取消 105.已退款
*/
private Integer payStatus;
/**
3 years ago
* 充值状态201:充值中 202充值成功 203充值失败 204:未充值
3 years ago
*/
private Integer rechargeStatus;
3 years ago
private String ext1;
3 years ago
3 years ago
private String ext2;
4 years ago
3 years ago
private String ext3;
3 years ago
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
3 years ago
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;
}
3 years ago
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;
}
3 years ago
public Integer getRechargeType() {
return rechargeType;
}
public void setRechargeType(Integer rechargeType) {
this.rechargeType = rechargeType;
}
3 years ago
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;
}
3 years ago
public Long getGoodsId() {
return goodsId;
}
3 years ago
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;
}
3 years ago
public String getLaborUnionCard() {
return laborUnionCard;
}
public void setLaborUnionCard(String laborUnionCard) {
this.laborUnionCard = laborUnionCard;
}
public Long getIntegralNum() {
return integralNum;
}
3 years ago
public void setIntegralNum(Long integralNum) {
this.integralNum = integralNum;
}
3 years ago
public BigDecimal getDiscountDeductionPrice() {
return discountDeductionPrice;
}
3 years ago
public void setDiscountDeductionPrice(BigDecimal discountDeductionPrice) {
this.discountDeductionPrice = discountDeductionPrice;
}
3 years ago
public BigDecimal getIntegralDeductionPrice() {
return integralDeductionPrice;
3 years ago
}
3 years ago
public void setIntegralDeductionPrice(BigDecimal integralDeductionPrice) {
this.integralDeductionPrice = integralDeductionPrice;
3 years ago
}
4 years ago
public BigDecimal getPayRealPrice() {
return payRealPrice;
}
4 years ago
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;
}
4 years ago
public String getOutRefundNo() {
return outRefundNo;
}
public void setOutRefundNo(String outRefundNo) {
this.outRefundNo = outRefundNo;
}
3 years ago
public BigDecimal getOrderPrice() {
return orderPrice;
}
public void setOrderPrice(BigDecimal orderPrice) {
this.orderPrice = orderPrice;
}
4 years ago
public Date getRefundTime() {
return refundTime;
}
public void setRefundTime(Date refundTime) {
this.refundTime = refundTime;
}
3 years ago
public String getTpRefundOrderNo() {
return tpRefundOrderNo;
4 years ago
}
3 years ago
public void setTpRefundOrderNo(String tpRefundOrderNo) {
this.tpRefundOrderNo = tpRefundOrderNo;
4 years ago
}
3 years ago
public String getRefundId() {
return refundId;
}
public void setRefundId(String refundId) {
this.refundId = refundId;
}
4 years ago
public BigDecimal getRefundFee() {
4 years ago
return refundFee;
}
4 years ago
public void setRefundFee(BigDecimal refundFee) {
4 years ago
this.refundFee = refundFee;
}
3 years ago
public String getRegionId() {
return regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
3 years ago
public Integer getPayStatus() {
return payStatus;
}
public void setPayStatus(Integer payStatus) {
this.payStatus = payStatus;
}
public Integer getRechargeStatus() {
return rechargeStatus;
}
public void setRechargeStatus(Integer rechargeStatus) {
this.rechargeStatus = rechargeStatus;
}
3 years ago
public String getExt1() {
return ext1;
4 years ago
}
3 years ago
public void setExt1(String ext1) {
this.ext1 = ext1;
4 years ago
}
3 years ago
public String getExt2() {
return ext2;
3 years ago
}
3 years ago
public void setExt2(String ext2) {
this.ext2 = ext2;
3 years ago
}
3 years ago
public String getExt3() {
return ext3;
3 years ago
}
3 years ago
public void setExt3(String ext3) {
this.ext3 = ext3;
3 years ago
}
@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()))
3 years ago
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName()))
3 years ago
&& (this.getOperatorType() == null ? other.getOperatorType() == null : this.getOperatorType().equals(other.getOperatorType()))
&& (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
3 years ago
&& (this.getRechargeType() == null ? other.getRechargeType() == null : this.getRechargeType().equals(other.getRechargeType()))
3 years ago
&& (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()))
3 years ago
&& (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()))
3 years ago
&& (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.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()))
4 years ago
&& (this.getOutRefundNo() == null ? other.getOutRefundNo() == null : this.getOutRefundNo().equals(other.getOutRefundNo()))
3 years ago
&& (this.getOrderPrice() == null ? other.getOrderPrice() == null : this.getOrderPrice().equals(other.getOrderPrice()))
4 years ago
&& (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime()))
3 years ago
&& (this.getTpRefundOrderNo() == null ? other.getTpRefundOrderNo() == null : this.getTpRefundOrderNo().equals(other.getTpRefundOrderNo()))
3 years ago
&& (this.getRefundId() == null ? other.getRefundId() == null : this.getRefundId().equals(other.getRefundId()))
4 years ago
&& (this.getRefundFee() == null ? other.getRefundFee() == null : this.getRefundFee().equals(other.getRefundFee()))
3 years ago
&& (this.getRegionId() == null ? other.getRegionId() == null : this.getRegionId().equals(other.getRegionId()))
3 years ago
&& (this.getPayStatus() == null ? other.getPayStatus() == null : this.getPayStatus().equals(other.getPayStatus()))
&& (this.getRechargeStatus() == null ? other.getRechargeStatus() == null : this.getRechargeStatus().equals(other.getRechargeStatus()))
3 years ago
&& (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());
3 years ago
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode());
3 years ago
result = prime * result + ((getOperatorType() == null) ? 0 : getOperatorType().hashCode());
result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
3 years ago
result = prime * result + ((getRechargeType() == null) ? 0 : getRechargeType().hashCode());
3 years ago
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());
3 years ago
result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode());
result = prime * result + ((getRechargeContent() == null) ? 0 : getRechargeContent().hashCode());
result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode());
3 years ago
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 + ((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());
4 years ago
result = prime * result + ((getOutRefundNo() == null) ? 0 : getOutRefundNo().hashCode());
3 years ago
result = prime * result + ((getOrderPrice() == null) ? 0 : getOrderPrice().hashCode());
4 years ago
result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode());
3 years ago
result = prime * result + ((getTpRefundOrderNo() == null) ? 0 : getTpRefundOrderNo().hashCode());
3 years ago
result = prime * result + ((getRefundId() == null) ? 0 : getRefundId().hashCode());
4 years ago
result = prime * result + ((getRefundFee() == null) ? 0 : getRefundFee().hashCode());
3 years ago
result = prime * result + ((getRegionId() == null) ? 0 : getRegionId().hashCode());
3 years ago
result = prime * result + ((getPayStatus() == null) ? 0 : getPayStatus().hashCode());
result = prime * result + ((getRechargeStatus() == null) ? 0 : getRechargeStatus().hashCode());
3 years ago
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);
3 years ago
sb.append(", type=").append(type);
sb.append(", operatorName=").append(operatorName);
3 years ago
sb.append(", operatorType=").append(operatorType);
sb.append(", orderNo=").append(orderNo);
3 years ago
sb.append(", rechargeType=").append(rechargeType);
3 years ago
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);
3 years ago
sb.append(", goodsId=").append(goodsId);
sb.append(", rechargeContent=").append(rechargeContent);
sb.append(", payType=").append(payType);
3 years ago
sb.append(", laborUnionCard=").append(laborUnionCard);
sb.append(", integralNum=").append(integralNum);
sb.append(", discountDeductionPrice=").append(discountDeductionPrice);
sb.append(", integralDeductionPrice=").append(integralDeductionPrice);
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);
4 years ago
sb.append(", outRefundNo=").append(outRefundNo);
3 years ago
sb.append(", orderPrice=").append(orderPrice);
4 years ago
sb.append(", refundTime=").append(refundTime);
3 years ago
sb.append(", tpRefundOrderNo=").append(tpRefundOrderNo);
3 years ago
sb.append(", refundId=").append(refundId);
4 years ago
sb.append(", refundFee=").append(refundFee);
3 years ago
sb.append(", regionId=").append(regionId);
3 years ago
sb.append(", payStatus=").append(payStatus);
sb.append(", rechargeStatus=").append(rechargeStatus);
3 years ago
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();
}
3 years ago
}