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