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