Пример #1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof CallListCompany)) return false;

    CallListCompany that = (CallListCompany) o;

    if (callList != null ? !callList.equals(that.callList) : that.callList != null) return false;
    if (company != null ? !company.equals(that.company) : that.company != null) return false;
    if (event != null ? !event.equals(that.event) : that.event != null) return false;
    if (lastDateUpdate != null
        ? !lastDateUpdate.equals(that.lastDateUpdate)
        : that.lastDateUpdate != null) return false;
    if (status != null ? !status.equals(that.status) : that.status != null) return false;
    if (user != null ? !user.equals(that.user) : that.user != null) return false;

    return true;
  }