|
@@ -0,0 +1,98 @@
|
|
|
|
|
+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_orders_underwriting_reason
|
|
|
|
|
+ */
|
|
|
|
|
+@TableName(value ="ins_orders_underwriting_reason")
|
|
|
|
|
+@Data
|
|
|
|
|
+public class InsOrdersUnderwritingReason implements Serializable {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
|
|
+ private Long id;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 子订单号
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "sub_no_order")
|
|
|
|
|
+ private String subNoOrder;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 报价状态
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "order_status")
|
|
|
|
|
+ private String orderStatus;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 退回原因
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "reason")
|
|
|
|
|
+ private String reason;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "create_time")
|
|
|
|
|
+ private Date createTime;
|
|
|
|
|
+
|
|
|
|
|
+ @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;
|
|
|
|
|
+ }
|
|
|
|
|
+ InsOrdersUnderwritingReason other = (InsOrdersUnderwritingReason) that;
|
|
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
|
|
+ && (this.getSubNoOrder() == null ? other.getSubNoOrder() == null : this.getSubNoOrder().equals(other.getSubNoOrder()))
|
|
|
|
|
+ && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus()))
|
|
|
|
|
+ && (this.getReason() == null ? other.getReason() == null : this.getReason().equals(other.getReason()))
|
|
|
|
|
+ && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int hashCode() {
|
|
|
|
|
+ final int prime = 31;
|
|
|
|
|
+ int result = 1;
|
|
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSubNoOrder() == null) ? 0 : getSubNoOrder().hashCode());
|
|
|
|
|
+ result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode());
|
|
|
|
|
+ result = prime * result + ((getReason() == null) ? 0 : getReason().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().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(", subNoOrder=").append(subNoOrder);
|
|
|
|
|
+ sb.append(", orderStatus=").append(orderStatus);
|
|
|
|
|
+ sb.append(", reason=").append(reason);
|
|
|
|
|
+ sb.append(", createTime=").append(createTime);
|
|
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
|
|
+ sb.append("]");
|
|
|
|
|
+ return sb.toString();
|
|
|
|
|
+ }
|
|
|
|
|
+}
|