class Todo extends SugarRecord implements Serializable {

    @Override
    public boolean equals(Object object) {
        return object instanceof Todo && this.getId().equals(((Todo) object).getId());
    }

    public  Todo();
    public  Todo(String title, Date dueDate, boolean completed, Priority priority);

}