|
|
@@ -2,7 +2,6 @@ package com.uas.search.console.b2b.model;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
-import java.util.Objects;
|
|
|
|
|
|
import javax.persistence.CascadeType;
|
|
|
import javax.persistence.Column;
|
|
|
@@ -72,12 +71,10 @@ public class MakeOrderChangeItemSimpleInfo {
|
|
|
@JoinColumn(name = MAKE_FIELD, insertable = false, updatable = false)
|
|
|
private MakeChangesSimpleInfo makeChanges;
|
|
|
|
|
|
-
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setId(Long id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
@@ -94,22 +91,18 @@ public class MakeOrderChangeItemSimpleInfo {
|
|
|
return orderCode;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setOrderCode(String orderCode) {
|
|
|
this.orderCode = orderCode;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public ProductSimpleInfo getProduct() {
|
|
|
return product;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setProduct(ProductSimpleInfo product) {
|
|
|
this.product = product;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public MakeChangesSimpleInfo getMakeChanges() {
|
|
|
return makeChanges;
|
|
|
}
|
|
|
@@ -137,17 +130,4 @@ public class MakeOrderChangeItemSimpleInfo {
|
|
|
return fields;
|
|
|
}
|
|
|
|
|
|
- public boolean equals(Object otherObject) {
|
|
|
- if (this == otherObject) {
|
|
|
- return true;
|
|
|
- }
|
|
|
- if (otherObject == null || getClass() != otherObject.getClass()
|
|
|
- || !(otherObject instanceof MakeOrderChangeItemSimpleInfo)) {
|
|
|
- return false;
|
|
|
- }
|
|
|
- MakeOrderChangeItemSimpleInfo other = (MakeOrderChangeItemSimpleInfo) otherObject;
|
|
|
- // 不对从表的数据进行比较
|
|
|
- return Objects.equals(id, other.getId()) && Objects.equals(orderCode, other.getOrderCode());
|
|
|
- }
|
|
|
-
|
|
|
}
|