|
@@ -0,0 +1,168 @@
|
|
|
|
|
+package com.ydtech.modules.order.entity.po;
|
|
|
|
|
+
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serializable;
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 子订单状态更新记录
|
|
|
|
|
+ * @TableName ins_sub_order_update_detail
|
|
|
|
|
+ */
|
|
|
|
|
+@TableName(value ="ins_sub_order_update_detail")
|
|
|
|
|
+@Data
|
|
|
|
|
+public class InsSubOrderUpdateDetail implements Serializable {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
|
|
+ private Long id;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 小订单id
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "sub_order_no")
|
|
|
|
|
+ private String subOrderNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 大订单id
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "order_no")
|
|
|
|
|
+ private String orderNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更新方式 1. 手动更新 2. 自动更新
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_method")
|
|
|
|
|
+ private String updateMethod;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更新时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_time")
|
|
|
|
|
+ private Date updateTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更新人
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_user_id")
|
|
|
|
|
+ private String updateUserId;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟新人名称
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_user_name")
|
|
|
|
|
+ private String updateUserName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更新内容
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_remark")
|
|
|
|
|
+ private String updateRemark;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟新类型 1 待核保更新 2.已核保待缴费更新 3.核保退回跟新
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_type")
|
|
|
|
|
+ private String updateType;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 小订单跟新之前状态
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_before_status")
|
|
|
|
|
+ private String updateBeforeStatus;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 小订单跟新之后状态
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_after_status")
|
|
|
|
|
+ private String updateAfterStatus;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public boolean equals(Object that) {
|
|
|
|
|
+ if (this == that) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (that == null) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ InsSubOrderUpdateDetail other = (InsSubOrderUpdateDetail) that;
|
|
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
|
|
+ && (this.getSubOrderNo() == null ? other.getSubOrderNo() == null : this.getSubOrderNo().equals(other.getSubOrderNo()))
|
|
|
|
|
+ && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
|
|
|
|
|
+ && (this.getUpdateMethod() == null ? other.getUpdateMethod() == null : this.getUpdateMethod().equals(other.getUpdateMethod()))
|
|
|
|
|
+ && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
|
|
|
|
|
+ && (this.getUpdateUserId() == null ? other.getUpdateUserId() == null : this.getUpdateUserId().equals(other.getUpdateUserId()))
|
|
|
|
|
+ && (this.getUpdateUserName() == null ? other.getUpdateUserName() == null : this.getUpdateUserName().equals(other.getUpdateUserName()))
|
|
|
|
|
+ && (this.getUpdateRemark() == null ? other.getUpdateRemark() == null : this.getUpdateRemark().equals(other.getUpdateRemark()))
|
|
|
|
|
+ && (this.getUpdateType() == null ? other.getUpdateType() == null : this.getUpdateType().equals(other.getUpdateType()))
|
|
|
|
|
+ && (this.getUpdateBeforeStatus() == null ? other.getUpdateBeforeStatus() == null : this.getUpdateBeforeStatus().equals(other.getUpdateBeforeStatus()))
|
|
|
|
|
+ && (this.getUpdateAfterStatus() == null ? other.getUpdateAfterStatus() == null : this.getUpdateAfterStatus().equals(other.getUpdateAfterStatus()));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int hashCode() {
|
|
|
|
|
+ final int prime = 31;
|
|
|
|
|
+ int result = 1;
|
|
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSubOrderNo() == null) ? 0 : getSubOrderNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateMethod() == null) ? 0 : getUpdateMethod().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateUserId() == null) ? 0 : getUpdateUserId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateUserName() == null) ? 0 : getUpdateUserName().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateRemark() == null) ? 0 : getUpdateRemark().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateType() == null) ? 0 : getUpdateType().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateBeforeStatus() == null) ? 0 : getUpdateBeforeStatus().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateAfterStatus() == null) ? 0 : getUpdateAfterStatus().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(", subOrderNo=").append(subOrderNo);
|
|
|
|
|
+ sb.append(", orderNo=").append(orderNo);
|
|
|
|
|
+ sb.append(", updateMethod=").append(updateMethod);
|
|
|
|
|
+ sb.append(", updateTime=").append(updateTime);
|
|
|
|
|
+ sb.append(", updateUserId=").append(updateUserId);
|
|
|
|
|
+ sb.append(", updateUserName=").append(updateUserName);
|
|
|
|
|
+ sb.append(", updateRemark=").append(updateRemark);
|
|
|
|
|
+ sb.append(", updateType=").append(updateType);
|
|
|
|
|
+ sb.append(", updateBeforeStatus=").append(updateBeforeStatus);
|
|
|
|
|
+ sb.append(", updateAfterStatus=").append(updateAfterStatus);
|
|
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
|
|
+ sb.append("]");
|
|
|
|
|
+ return sb.toString();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public InsSubOrderUpdateDetail() {
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public InsSubOrderUpdateDetail(String subOrderNo, String orderNo, String updateMethod, Date updateTime, String updateUserId, String updateUserName, String updateRemark, String updateType, String updateBeforeStatus, String updateAfterStatus) {
|
|
|
|
|
+ this.subOrderNo = subOrderNo;
|
|
|
|
|
+ this.orderNo = orderNo;
|
|
|
|
|
+ this.updateMethod = updateMethod;
|
|
|
|
|
+ this.updateTime = updateTime;
|
|
|
|
|
+ this.updateUserId = updateUserId;
|
|
|
|
|
+ this.updateUserName = updateUserName;
|
|
|
|
|
+ this.updateRemark = updateRemark;
|
|
|
|
|
+ this.updateType = updateType;
|
|
|
|
|
+ this.updateBeforeStatus = updateBeforeStatus;
|
|
|
|
|
+ this.updateAfterStatus = updateAfterStatus;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|