|
|
@@ -2,7 +2,6 @@ package com.uas.search.console.model;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
-import java.util.Objects;
|
|
|
import java.util.Set;
|
|
|
|
|
|
import javax.persistence.CascadeType;
|
|
|
@@ -28,6 +27,7 @@ public class PurchaseSimpleInfo implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@Id
|
|
|
+ @Column(name = "id")
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
@@ -129,21 +129,6 @@ public class PurchaseSimpleInfo implements Serializable {
|
|
|
this.details = details;
|
|
|
}
|
|
|
|
|
|
- public boolean equals(Object otherObject) {
|
|
|
- if (this == otherObject) {
|
|
|
- return true;
|
|
|
- }
|
|
|
- if (otherObject == null || getClass() != otherObject.getClass()
|
|
|
- || !(otherObject instanceof PurchaseSimpleInfo)) {
|
|
|
- return false;
|
|
|
- }
|
|
|
- PurchaseSimpleInfo other = (PurchaseSimpleInfo) otherObject;
|
|
|
- return Objects.equals(id, other.getId()) && Objects.equals(code, other.getCode())
|
|
|
- && Objects.equals(sellerenuu, other.getSellerenuu())
|
|
|
- && Objects.equals(sellerenname, other.getSellerenname())
|
|
|
- && Objects.equals(createtime, other.getCreatetime()) && Objects.equals(status, other.getStatus());
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "PurchaseSimpleInfo [id=" + id + ", code=" + code + ", sellerenuu=" + sellerenuu + ", sellerenname="
|