Resolve "Оповещения о дедлайнах конференции" #203

Merged
VladimirZarayskiy merged 1 commits from 70-notification-conf into dev 2019-05-03 09:56:34 +04:00
Showing only changes of commit 6350e1c0d6 - Show all commits

View File

@ -9,6 +9,7 @@ import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;
import java.util.Objects;
@Entity
public class Deadline extends BaseEntity {
@ -68,4 +69,9 @@ public class Deadline extends BaseEntity {
description.equals(deadline.description) &&
date.equals(deadline.date);
}
@Override
public int hashCode() {
return Objects.hash(super.hashCode(), description, date);
}
}