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