package com.qianwen.smartman.common.websocket.entity; import java.io.Serializable; import java.util.List; public class FmsArea implements Serializable { private String id; private String name; private String code; private List locationList; public void setId(final String id) { this.id = id; } public void setName(final String name) { this.name = name; } public void setCode(final String code) { this.code = code; } public void setLocationList(final List locationList) { this.locationList = locationList; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof FmsArea) { FmsArea other = (FmsArea) o; if (other.canEqual(this)) { Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$locationList = getLocationList(); Object other$locationList = other.getLocationList(); return this$locationList == null ? other$locationList == null : this$locationList.equals(other$locationList); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof FmsArea; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $name = getName(); int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode()); Object $code = getCode(); int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode()); Object $locationList = getLocationList(); return (result3 * 59) + ($locationList == null ? 43 : $locationList.hashCode()); } public String toString() { return "FmsArea(id=" + getId() + ", name=" + getName() + ", code=" + getCode() + ", locationList=" + getLocationList() + ")"; } public String getId() { return this.id; } public String getName() { return this.name; } public String getCode() { return this.code; } public List getLocationList() { return this.locationList; } }