嗨森逛服务
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

572 lines
18 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;
/**
* 订单流水号
*/
private String orderNo;
3 years ago
/**
* 用户的优惠券high_discount_user_rel表的id
*/
private Long memDiscountId;
/**
* 用户的优惠券名称
*/
private String memDiscountName;
/**
* 用户表ID
*/
private Long userId;
/**
* 用户名称
*/
private String userName;
/**
* 用户电话
*/
private String userPhone;
/**
* 充值模式1 电信 2. 移动 3. 联通
*/
private Integer rechargeModel;
/**
3 years ago
* 1.微信 2.工会卡 3.积分 4. 银联
*/
private Integer payType;
/**
* 支付金额
*/
4 years ago
private BigDecimal payPrice;
/**
* 订单充值金额
*/
4 years ago
private BigDecimal orderPrice;
3 years ago
/**
* 1快充 2慢充
*/
private Integer rechargeType;
/**
* 实际金额
*/
4 years ago
private BigDecimal payRealPrice;
/**
* 支付流水号
*/
private String paySerialNo;
3 years ago
/**
* 抵扣金额
*/
private BigDecimal deductionPrice;
/**
4 years ago
* 订单状态 1.待支付 2.已支付 3.已完成 4.已取消 5.已退款
*/
private Integer status;
/**
* 充值内容电话号码 卡号
*/
private String rechargeContent;
/**
* 中石油需要的持卡人姓名
*/
private String rechargeName;
3 years ago
/**
* 1:充值异常
*/
private Integer rechargeStatus;
/**
* 中石油需要持卡人身份证
*/
private String idCard;
/**
* 生成时间
*/
private Date createTimed;
/**
* 支付时间
*/
private Date payTime;
/**
* 取消时间
*/
private Date cancelTime;
/**
* 完成时间
*/
private Date finishTime;
4 years ago
/**
* 备注
*/
private String remarks;
4 years ago
/**
4 years ago
* 内部退款订单号
4 years ago
*/
private String outRefundNo;
4 years ago
/**
* 退款时间
*/
private Date refundTime;
/**
* 第三方退款订单号
*/
private String refundId;
4 years ago
/**
* 退款金额
*/
4 years ago
private BigDecimal refundFee;
4 years ago
4 years ago
/**
* 代理商编号
*/
private String agentKey;
3 years ago
private Integer objectId;
private Long identificationCode;
4 years ago
3 years ago
/**
* 异常信息
*/
private String abnormalMsg;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
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;
}
public Integer getRechargeModel() {
return rechargeModel;
}
public void setRechargeModel(Integer rechargeModel) {
this.rechargeModel = rechargeModel;
}
public Integer getPayType() {
return payType;
}
public void setPayType(Integer payType) {
this.payType = payType;
}
4 years ago
public BigDecimal getPayPrice() {
return payPrice;
}
4 years ago
public void setPayPrice(BigDecimal payPrice) {
this.payPrice = payPrice;
}
4 years ago
public BigDecimal getOrderPrice() {
return orderPrice;
}
4 years ago
public void setOrderPrice(BigDecimal orderPrice) {
this.orderPrice = orderPrice;
}
3 years ago
public Integer getRechargeType() {
return rechargeType;
}
public void setRechargeType(Integer rechargeType) {
this.rechargeType = rechargeType;
}
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;
}
3 years ago
public BigDecimal getDeductionPrice() {
return deductionPrice;
}
public void setDeductionPrice(BigDecimal deductionPrice) {
this.deductionPrice = deductionPrice;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRechargeContent() {
return rechargeContent;
}
public void setRechargeContent(String rechargeContent) {
this.rechargeContent = rechargeContent;
}
public String getRechargeName() {
return rechargeName;
}
public void setRechargeName(String rechargeName) {
this.rechargeName = rechargeName;
}
3 years ago
public Integer getRechargeStatus() {
return rechargeStatus;
}
public void setRechargeStatus(Integer rechargeStatus) {
this.rechargeStatus = rechargeStatus;
}
public String getIdCard() {
return idCard;
}
public void setIdCard(String idCard) {
this.idCard = idCard;
}
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 getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
4 years ago
public String getOutRefundNo() {
return outRefundNo;
}
public void setOutRefundNo(String outRefundNo) {
this.outRefundNo = outRefundNo;
}
4 years ago
public Date getRefundTime() {
return refundTime;
}
public void setRefundTime(Date refundTime) {
this.refundTime = refundTime;
}
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;
}
4 years ago
public String getAgentKey() {
return agentKey;
}
public void setAgentKey(String agentKey) {
this.agentKey = agentKey;
}
3 years ago
public Integer getObjectId() {
4 years ago
return objectId;
}
3 years ago
public void setObjectId(Integer objectId) {
4 years ago
this.objectId = objectId;
}
3 years ago
public Long getIdentificationCode() {
return identificationCode;
}
public void setIdentificationCode(Long identificationCode) {
this.identificationCode = identificationCode;
}
3 years ago
public String getAbnormalMsg() {
return abnormalMsg;
}
public void setAbnormalMsg(String abnormalMsg) {
this.abnormalMsg = abnormalMsg;
}
@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.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
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()))
&& (this.getRechargeModel() == null ? other.getRechargeModel() == null : this.getRechargeModel().equals(other.getRechargeModel()))
&& (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType()))
&& (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice()))
&& (this.getOrderPrice() == null ? other.getOrderPrice() == null : this.getOrderPrice().equals(other.getOrderPrice()))
3 years ago
&& (this.getRechargeType() == null ? other.getRechargeType() == null : this.getRechargeType().equals(other.getRechargeType()))
&& (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice()))
&& (this.getPaySerialNo() == null ? other.getPaySerialNo() == null : this.getPaySerialNo().equals(other.getPaySerialNo()))
3 years ago
&& (this.getDeductionPrice() == null ? other.getDeductionPrice() == null : this.getDeductionPrice().equals(other.getDeductionPrice()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getRechargeContent() == null ? other.getRechargeContent() == null : this.getRechargeContent().equals(other.getRechargeContent()))
&& (this.getRechargeName() == null ? other.getRechargeName() == null : this.getRechargeName().equals(other.getRechargeName()))
3 years ago
&& (this.getRechargeStatus() == null ? other.getRechargeStatus() == null : this.getRechargeStatus().equals(other.getRechargeStatus()))
&& (this.getIdCard() == null ? other.getIdCard() == null : this.getIdCard().equals(other.getIdCard()))
&& (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.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()))
&& (this.getOutRefundNo() == null ? other.getOutRefundNo() == null : this.getOutRefundNo().equals(other.getOutRefundNo()))
4 years ago
&& (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime()))
&& (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()))
4 years ago
&& (this.getAgentKey() == null ? other.getAgentKey() == null : this.getAgentKey().equals(other.getAgentKey()))
3 years ago
&& (this.getObjectId() == null ? other.getObjectId() == null : this.getObjectId().equals(other.getObjectId()))
3 years ago
&& (this.getIdentificationCode() == null ? other.getIdentificationCode() == null : this.getIdentificationCode().equals(other.getIdentificationCode()))
&& (this.getAbnormalMsg() == null ? other.getAbnormalMsg() == null : this.getAbnormalMsg().equals(other.getAbnormalMsg()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().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());
result = prime * result + ((getRechargeModel() == null) ? 0 : getRechargeModel().hashCode());
result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode());
result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode());
result = prime * result + ((getOrderPrice() == null) ? 0 : getOrderPrice().hashCode());
3 years ago
result = prime * result + ((getRechargeType() == null) ? 0 : getRechargeType().hashCode());
result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode());
result = prime * result + ((getPaySerialNo() == null) ? 0 : getPaySerialNo().hashCode());
3 years ago
result = prime * result + ((getDeductionPrice() == null) ? 0 : getDeductionPrice().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getRechargeContent() == null) ? 0 : getRechargeContent().hashCode());
result = prime * result + ((getRechargeName() == null) ? 0 : getRechargeName().hashCode());
3 years ago
result = prime * result + ((getRechargeStatus() == null) ? 0 : getRechargeStatus().hashCode());
result = prime * result + ((getIdCard() == null) ? 0 : getIdCard().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 + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
4 years ago
result = prime * result + ((getOutRefundNo() == null) ? 0 : getOutRefundNo().hashCode());
4 years ago
result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode());
result = prime * result + ((getRefundId() == null) ? 0 : getRefundId().hashCode());
4 years ago
result = prime * result + ((getRefundFee() == null) ? 0 : getRefundFee().hashCode());
4 years ago
result = prime * result + ((getAgentKey() == null) ? 0 : getAgentKey().hashCode());
4 years ago
result = prime * result + ((getObjectId() == null) ? 0 : getObjectId().hashCode());
3 years ago
result = prime * result + ((getIdentificationCode() == null) ? 0 : getIdentificationCode().hashCode());
3 years ago
result = prime * result + ((getAbnormalMsg() == null) ? 0 : getAbnormalMsg().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(", orderNo=").append(orderNo);
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);
sb.append(", rechargeModel=").append(rechargeModel);
sb.append(", payType=").append(payType);
sb.append(", payPrice=").append(payPrice);
sb.append(", orderPrice=").append(orderPrice);
3 years ago
sb.append(", rechargeType=").append(rechargeType);
sb.append(", payRealPrice=").append(payRealPrice);
sb.append(", paySerialNo=").append(paySerialNo);
3 years ago
sb.append(", deductionPrice=").append(deductionPrice);
sb.append(", status=").append(status);
sb.append(", rechargeContent=").append(rechargeContent);
sb.append(", rechargeName=").append(rechargeName);
3 years ago
sb.append(", rechargeStatus=").append(rechargeStatus);
sb.append(", idCard=").append(idCard);
sb.append(", createTimed=").append(createTimed);
sb.append(", payTime=").append(payTime);
sb.append(", cancelTime=").append(cancelTime);
sb.append(", finishTime=").append(finishTime);
sb.append(", remarks=").append(remarks);
4 years ago
sb.append(", outRefundNo=").append(outRefundNo);
4 years ago
sb.append(", refundTime=").append(refundTime);
sb.append(", refundId=").append(refundId);
4 years ago
sb.append(", refundFee=").append(refundFee);
4 years ago
sb.append(", agentKey=").append(agentKey);
4 years ago
sb.append(", objectId=").append(objectId);
3 years ago
sb.append(", identificationCode=").append(identificationCode);
3 years ago
sb.append(", abnormalMsg=").append(abnormalMsg);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
3 years ago
}