@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 ModelProperty)) {
            return false;
        }
        ModelProperty other = (ModelProperty) object;
        if ((this.modelPropertyPK == null && other.modelPropertyPK != null) || (this.modelPropertyPK != null && !this.modelPropertyPK.equals(other.modelPropertyPK))) {
            return false;
        }
        return true;
    }