@Override public int hashCode() { int result = dateRun.hashCode(); result = 31 * result + number.hashCode(); result = 31 * result + name.hashCode(); return result; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MigrationLogItem that = (MigrationLogItem) o; if (!stripMillis(dateRun).equals(stripMillis(that.dateRun))) return false; if (!name.equals(that.name)) return false; if (!number.equals(that.number)) return false; return true; }