@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Office)) {
            return false;
        }
        Office other = (Office) object;
        if ((this.onumber == null && other.onumber != null) || (this.onumber != null && !this.onumber.equals(other.onumber))) {
            return false;
        }
        return true;
    }