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