package com.hfkj.entity; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * bs_order_after_sales_apply * @author */ /** * * 代码由工具生成 * **/ public class BsOrderAfterSalesApply implements Serializable { /** * 主键ID */ private Long id; /** * 用户id */ private Long userId; /** * 用户电话 */ private String userPhone; /** * 商户id */ private Long merId; /** * 申请单号 */ private String applyNo; /** * 售后类型 1:退款申请 2:退货申请 */ private Integer type; /** * 订单号 */ private String orderNo; /** * 子订单号 */ private String childOrderNo; /** * 产品类型 */ private Integer productType; /** * 产品id */ private Long productId; /** * 产品名称 */ private String productName; /** * 产品图片 */ private String productImg; /** * 产品规格id */ private Long productSpecId; /** * 产品规格名称 */ private String productSpecName; /** * 产品数量 */ private Integer productCount; /** * 照片 */ private String photo; /** * 备注 */ private String remarks; /** * 邮寄快递单号 */ private String sendExpressNo; /** * 退款单号 */ private String refundOrderNo; /** * 退款金额 */ private BigDecimal refundPrice; /** * 退款积分金额 */ private Long refundIntegral; /** * 状态 1:审核中 2:审核驳回 3:待邮寄 4:邮寄中 5:完成 */ private Integer status; /** * 审核备注 */ private String auditRemarks; /** * 创建时间 */ private Date createTime; /** * 审核时间 */ private Date auditTime; /** * 邮寄时间 */ private Date sendExpressTime; /** * 完成时间 */ private Date finishTime; /** * 更新时间 */ private Date updateTime; 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 Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } public String getUserPhone() { return userPhone; } public void setUserPhone(String userPhone) { this.userPhone = userPhone; } public Long getMerId() { return merId; } public void setMerId(Long merId) { this.merId = merId; } public String getApplyNo() { return applyNo; } public void setApplyNo(String applyNo) { this.applyNo = applyNo; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getOrderNo() { return orderNo; } public void setOrderNo(String orderNo) { this.orderNo = orderNo; } public String getChildOrderNo() { return childOrderNo; } public void setChildOrderNo(String childOrderNo) { this.childOrderNo = childOrderNo; } public Integer getProductType() { return productType; } public void setProductType(Integer productType) { this.productType = productType; } public Long getProductId() { return productId; } public void setProductId(Long productId) { this.productId = productId; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } public String getProductImg() { return productImg; } public void setProductImg(String productImg) { this.productImg = productImg; } public Long getProductSpecId() { return productSpecId; } public void setProductSpecId(Long productSpecId) { this.productSpecId = productSpecId; } public String getProductSpecName() { return productSpecName; } public void setProductSpecName(String productSpecName) { this.productSpecName = productSpecName; } public Integer getProductCount() { return productCount; } public void setProductCount(Integer productCount) { this.productCount = productCount; } public String getPhoto() { return photo; } public void setPhoto(String photo) { this.photo = photo; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getSendExpressNo() { return sendExpressNo; } public void setSendExpressNo(String sendExpressNo) { this.sendExpressNo = sendExpressNo; } public String getRefundOrderNo() { return refundOrderNo; } public void setRefundOrderNo(String refundOrderNo) { this.refundOrderNo = refundOrderNo; } public BigDecimal getRefundPrice() { return refundPrice; } public void setRefundPrice(BigDecimal refundPrice) { this.refundPrice = refundPrice; } public Long getRefundIntegral() { return refundIntegral; } public void setRefundIntegral(Long refundIntegral) { this.refundIntegral = refundIntegral; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public String getAuditRemarks() { return auditRemarks; } public void setAuditRemarks(String auditRemarks) { this.auditRemarks = auditRemarks; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getAuditTime() { return auditTime; } public void setAuditTime(Date auditTime) { this.auditTime = auditTime; } public Date getSendExpressTime() { return sendExpressTime; } public void setSendExpressTime(Date sendExpressTime) { this.sendExpressTime = sendExpressTime; } public Date getFinishTime() { return finishTime; } public void setFinishTime(Date finishTime) { this.finishTime = finishTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } 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; } BsOrderAfterSalesApply other = (BsOrderAfterSalesApply) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone())) && (this.getMerId() == null ? other.getMerId() == null : this.getMerId().equals(other.getMerId())) && (this.getApplyNo() == null ? other.getApplyNo() == null : this.getApplyNo().equals(other.getApplyNo())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) && (this.getChildOrderNo() == null ? other.getChildOrderNo() == null : this.getChildOrderNo().equals(other.getChildOrderNo())) && (this.getProductType() == null ? other.getProductType() == null : this.getProductType().equals(other.getProductType())) && (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId())) && (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName())) && (this.getProductImg() == null ? other.getProductImg() == null : this.getProductImg().equals(other.getProductImg())) && (this.getProductSpecId() == null ? other.getProductSpecId() == null : this.getProductSpecId().equals(other.getProductSpecId())) && (this.getProductSpecName() == null ? other.getProductSpecName() == null : this.getProductSpecName().equals(other.getProductSpecName())) && (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount())) && (this.getPhoto() == null ? other.getPhoto() == null : this.getPhoto().equals(other.getPhoto())) && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks())) && (this.getSendExpressNo() == null ? other.getSendExpressNo() == null : this.getSendExpressNo().equals(other.getSendExpressNo())) && (this.getRefundOrderNo() == null ? other.getRefundOrderNo() == null : this.getRefundOrderNo().equals(other.getRefundOrderNo())) && (this.getRefundPrice() == null ? other.getRefundPrice() == null : this.getRefundPrice().equals(other.getRefundPrice())) && (this.getRefundIntegral() == null ? other.getRefundIntegral() == null : this.getRefundIntegral().equals(other.getRefundIntegral())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getAuditRemarks() == null ? other.getAuditRemarks() == null : this.getAuditRemarks().equals(other.getAuditRemarks())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime())) && (this.getSendExpressTime() == null ? other.getSendExpressTime() == null : this.getSendExpressTime().equals(other.getSendExpressTime())) && (this.getFinishTime() == null ? other.getFinishTime() == null : this.getFinishTime().equals(other.getFinishTime())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (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 + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode()); result = prime * result + ((getMerId() == null) ? 0 : getMerId().hashCode()); result = prime * result + ((getApplyNo() == null) ? 0 : getApplyNo().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); result = prime * result + ((getChildOrderNo() == null) ? 0 : getChildOrderNo().hashCode()); result = prime * result + ((getProductType() == null) ? 0 : getProductType().hashCode()); result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode()); result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode()); result = prime * result + ((getProductImg() == null) ? 0 : getProductImg().hashCode()); result = prime * result + ((getProductSpecId() == null) ? 0 : getProductSpecId().hashCode()); result = prime * result + ((getProductSpecName() == null) ? 0 : getProductSpecName().hashCode()); result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode()); result = prime * result + ((getPhoto() == null) ? 0 : getPhoto().hashCode()); result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode()); result = prime * result + ((getSendExpressNo() == null) ? 0 : getSendExpressNo().hashCode()); result = prime * result + ((getRefundOrderNo() == null) ? 0 : getRefundOrderNo().hashCode()); result = prime * result + ((getRefundPrice() == null) ? 0 : getRefundPrice().hashCode()); result = prime * result + ((getRefundIntegral() == null) ? 0 : getRefundIntegral().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getAuditRemarks() == null) ? 0 : getAuditRemarks().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode()); result = prime * result + ((getSendExpressTime() == null) ? 0 : getSendExpressTime().hashCode()); result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().hashCode()); result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().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(", userId=").append(userId); sb.append(", userPhone=").append(userPhone); sb.append(", merId=").append(merId); sb.append(", applyNo=").append(applyNo); sb.append(", type=").append(type); sb.append(", orderNo=").append(orderNo); sb.append(", childOrderNo=").append(childOrderNo); sb.append(", productType=").append(productType); sb.append(", productId=").append(productId); sb.append(", productName=").append(productName); sb.append(", productImg=").append(productImg); sb.append(", productSpecId=").append(productSpecId); sb.append(", productSpecName=").append(productSpecName); sb.append(", productCount=").append(productCount); sb.append(", photo=").append(photo); sb.append(", remarks=").append(remarks); sb.append(", sendExpressNo=").append(sendExpressNo); sb.append(", refundOrderNo=").append(refundOrderNo); sb.append(", refundPrice=").append(refundPrice); sb.append(", refundIntegral=").append(refundIntegral); sb.append(", status=").append(status); sb.append(", auditRemarks=").append(auditRemarks); sb.append(", createTime=").append(createTime); sb.append(", auditTime=").append(auditTime); sb.append(", sendExpressTime=").append(sendExpressTime); sb.append(", finishTime=").append(finishTime); sb.append(", updateTime=").append(updateTime); 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(); } }