package com.skyline.electricity.pojo;
|
|
public class Material
|
{
|
private PolylineOutline polylineOutline;
|
|
public PolylineOutline getPolylineOutline() {
|
return this.polylineOutline;
|
}
|
|
public void setPolylineOutline(final PolylineOutline polylineOutline) {
|
this.polylineOutline = polylineOutline;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof Material)) {
|
return false;
|
}
|
final Material other = (Material)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$polylineOutline = this.getPolylineOutline();
|
final Object other$polylineOutline = other.getPolylineOutline();
|
if (this$polylineOutline == null) {
|
if (other$polylineOutline == null) {
|
return true;
|
}
|
}
|
else if (this$polylineOutline.equals(other$polylineOutline)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Material;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $polylineOutline = this.getPolylineOutline();
|
result = result * 59 + (($polylineOutline == null) ? 43 : $polylineOutline.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "Material(polylineOutline=" + this.getPolylineOutline() + ")";
|
}
|
}
|