Ejemplo n.º 1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    LabRoomUsageEntity that = (LabRoomUsageEntity) o;

    if (labRoomUsageId != that.labRoomUsageId) return false;
    if (labRoomId != that.labRoomId) return false;
    if (timeFrom != that.timeFrom) return false;
    if (courseId != null ? !courseId.equals(that.courseId) : that.courseId != null) return false;
    if (teacherId != null ? !teacherId.equals(that.teacherId) : that.teacherId != null)
      return false;
    if (nowNum != null ? !nowNum.equals(that.nowNum) : that.nowNum != null) return false;
    if (maxNum != null ? !maxNum.equals(that.maxNum) : that.maxNum != null) return false;
    if (isOk != null ? !isOk.equals(that.isOk) : that.isOk != null) return false;
    if (description != null ? !description.equals(that.description) : that.description != null)
      return false;

    return true;
  }
Ejemplo n.º 2
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    UserAccountEntity that = (UserAccountEntity) o;

    if (userId != that.userId) return false;
    if (status != that.status) return false;
    if (email != null ? !email.equals(that.email) : that.email != null) return false;
    if (dob != null ? !dob.equals(that.dob) : that.dob != null) return false;
    if (password != null ? !password.equals(that.password) : that.password != null) return false;
    if (dateCreated != null ? !dateCreated.equals(that.dateCreated) : that.dateCreated != null)
      return false;
    if (dateModified != null ? !dateModified.equals(that.dateModified) : that.dateModified != null)
      return false;
    if (statusReasonCode != null
        ? !statusReasonCode.equals(that.statusReasonCode)
        : that.statusReasonCode != null) return false;
    if (emailStatus != null ? !emailStatus.equals(that.emailStatus) : that.emailStatus != null)
      return false;

    return true;
  }
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    InterventionSchedule that = (InterventionSchedule) o;
    if (termID != null ? !termID.equals(that.termID) : that.termID != null) return false;
    if (abends != null ? !abends.equals(that.abends) : that.abends != null) return false;
    if (bemerkung != null ? !bemerkung.equals(that.bemerkung) : that.bemerkung != null)
      return false;
    if (dauer != null ? !dauer.equals(that.dauer) : that.dauer != null) return false;
    if (die != null ? !die.equals(that.die) : that.die != null) return false;
    if (don != null ? !don.equals(that.don) : that.don != null) return false;
    if (erforderlich != null ? !erforderlich.equals(that.erforderlich) : that.erforderlich != null)
      return false;
    if (fre != null ? !fre.equals(that.fre) : that.fre != null) return false;
    if (intervention != null ? !intervention.equals(that.intervention) : that.intervention != null)
      return false;
    if (lDatum != null ? !lDatum.equals(that.lDatum) : that.lDatum != null) return false;
    if (mit != null ? !mit.equals(that.mit) : that.mit != null) return false;
    if (mittags != null ? !mittags.equals(that.mittags) : that.mittags != null) return false;
    if (mon != null ? !mon.equals(that.mon) : that.mon != null) return false;
    if (monatlich != null ? !monatlich.equals(that.monatlich) : that.monatlich != null)
      return false;
    if (morgens != null ? !morgens.equals(that.morgens) : that.morgens != null) return false;
    if (nachmittags != null ? !nachmittags.equals(that.nachmittags) : that.nachmittags != null)
      return false;
    if (nachtAb != null ? !nachtAb.equals(that.nachtAb) : that.nachtAb != null) return false;
    if (nachtMo != null ? !nachtMo.equals(that.nachtMo) : that.nachtMo != null) return false;
    if (nursingProcess != null
        ? !nursingProcess.equals(that.nursingProcess)
        : that.nursingProcess != null) return false;
    if (sam != null ? !sam.equals(that.sam) : that.sam != null) return false;
    if (son != null ? !son.equals(that.son) : that.son != null) return false;
    if (taeglich != null ? !taeglich.equals(that.taeglich) : that.taeglich != null) return false;
    if (tagNum != null ? !tagNum.equals(that.tagNum) : that.tagNum != null) return false;
    if (uhrzeit != null ? !uhrzeit.equals(that.uhrzeit) : that.uhrzeit != null) return false;
    if (uhrzeitAnzahl != null
        ? !uhrzeitAnzahl.equals(that.uhrzeitAnzahl)
        : that.uhrzeitAnzahl != null) return false;
    if (version != null ? !version.equals(that.version) : that.version != null) return false;
    if (woechentlich != null ? !woechentlich.equals(that.woechentlich) : that.woechentlich != null)
      return false;
    if (uuid != null ? !uuid.equals(that.uuid) : that.uuid != null) return false;

    return true;
  }