package com.skyline.electricity.pojo; public class HistoryRoute { private String id; private String name; private String description; private Properties properties; private String availability; private Position position; private Polyline polyline; private Model model; private Label label; private BillBoard billboard; private Path path; public String getId() { return this.id; } public String getName() { return this.name; } public String getDescription() { return this.description; } public Properties getProperties() { return this.properties; } public String getAvailability() { return this.availability; } public Position getPosition() { return this.position; } public Polyline getPolyline() { return this.polyline; } public Model getModel() { return this.model; } public Label getLabel() { return this.label; } public BillBoard getBillboard() { return this.billboard; } public Path getPath() { return this.path; } public void setId(final String id) { this.id = id; } public void setName(final String name) { this.name = name; } public void setDescription(final String description) { this.description = description; } public void setProperties(final Properties properties) { this.properties = properties; } public void setAvailability(final String availability) { this.availability = availability; } public void setPosition(final Position position) { this.position = position; } public void setPolyline(final Polyline polyline) { this.polyline = polyline; } public void setModel(final Model model) { this.model = model; } public void setLabel(final Label label) { this.label = label; } public void setBillboard(final BillBoard billboard) { this.billboard = billboard; } public void setPath(final Path path) { this.path = path; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof HistoryRoute)) { return false; } final HistoryRoute other = (HistoryRoute)o; if (!other.canEqual(this)) { return false; } final Object this$id = this.getId(); final Object other$id = other.getId(); Label_0065: { if (this$id == null) { if (other$id == null) { break Label_0065; } } else if (this$id.equals(other$id)) { break Label_0065; } return false; } final Object this$name = this.getName(); final Object other$name = other.getName(); Label_0102: { if (this$name == null) { if (other$name == null) { break Label_0102; } } else if (this$name.equals(other$name)) { break Label_0102; } return false; } final Object this$description = this.getDescription(); final Object other$description = other.getDescription(); Label_0139: { if (this$description == null) { if (other$description == null) { break Label_0139; } } else if (this$description.equals(other$description)) { break Label_0139; } return false; } final Object this$properties = this.getProperties(); final Object other$properties = other.getProperties(); Label_0176: { if (this$properties == null) { if (other$properties == null) { break Label_0176; } } else if (this$properties.equals(other$properties)) { break Label_0176; } return false; } final Object this$availability = this.getAvailability(); final Object other$availability = other.getAvailability(); Label_0213: { if (this$availability == null) { if (other$availability == null) { break Label_0213; } } else if (this$availability.equals(other$availability)) { break Label_0213; } return false; } final Object this$position = this.getPosition(); final Object other$position = other.getPosition(); Label_0250: { if (this$position == null) { if (other$position == null) { break Label_0250; } } else if (this$position.equals(other$position)) { break Label_0250; } return false; } final Object this$polyline = this.getPolyline(); final Object other$polyline = other.getPolyline(); Label_0287: { if (this$polyline == null) { if (other$polyline == null) { break Label_0287; } } else if (this$polyline.equals(other$polyline)) { break Label_0287; } return false; } final Object this$model = this.getModel(); final Object other$model = other.getModel(); Label_0324: { if (this$model == null) { if (other$model == null) { break Label_0324; } } else if (this$model.equals(other$model)) { break Label_0324; } return false; } final Object this$label = this.getLabel(); final Object other$label = other.getLabel(); Label_0361: { if (this$label == null) { if (other$label == null) { break Label_0361; } } else if (this$label.equals(other$label)) { break Label_0361; } return false; } final Object this$billboard = this.getBillboard(); final Object other$billboard = other.getBillboard(); Label_0398: { if (this$billboard == null) { if (other$billboard == null) { break Label_0398; } } else if (this$billboard.equals(other$billboard)) { break Label_0398; } return false; } final Object this$path = this.getPath(); final Object other$path = other.getPath(); if (this$path == null) { if (other$path == null) { return true; } } else if (this$path.equals(other$path)) { return true; } return false; } protected boolean canEqual(final Object other) { return other instanceof HistoryRoute; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $id = this.getId(); result = result * 59 + (($id == null) ? 43 : $id.hashCode()); final Object $name = this.getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); final Object $description = this.getDescription(); result = result * 59 + (($description == null) ? 43 : $description.hashCode()); final Object $properties = this.getProperties(); result = result * 59 + (($properties == null) ? 43 : $properties.hashCode()); final Object $availability = this.getAvailability(); result = result * 59 + (($availability == null) ? 43 : $availability.hashCode()); final Object $position = this.getPosition(); result = result * 59 + (($position == null) ? 43 : $position.hashCode()); final Object $polyline = this.getPolyline(); result = result * 59 + (($polyline == null) ? 43 : $polyline.hashCode()); final Object $model = this.getModel(); result = result * 59 + (($model == null) ? 43 : $model.hashCode()); final Object $label = this.getLabel(); result = result * 59 + (($label == null) ? 43 : $label.hashCode()); final Object $billboard = this.getBillboard(); result = result * 59 + (($billboard == null) ? 43 : $billboard.hashCode()); final Object $path = this.getPath(); result = result * 59 + (($path == null) ? 43 : $path.hashCode()); return result; } @Override public String toString() { return "HistoryRoute(id=" + this.getId() + ", name=" + this.getName() + ", description=" + this.getDescription() + ", properties=" + this.getProperties() + ", availability=" + this.getAvailability() + ", position=" + this.getPosition() + ", polyline=" + this.getPolyline() + ", model=" + this.getModel() + ", label=" + this.getLabel() + ", billboard=" + this.getBillboard() + ", path=" + this.getPath() + ")"; } }