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