@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Servico other = (Servico) obj;
        if (this.IdServico != other.IdServico && (this.IdServico == null || !this.IdServico.equals(other.IdServico))) {
            return false;
        }
        return true;
    }