package seedu.todo.models;

import java.time.LocalDateTime;

public class Task implements CalendarItem {
    
    private String name;
    private LocalDateTime dueDate;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getDueDate() {
        return dueDate;
    }

    public void setDueDate(LocalDateTime dueDate) {
        this.dueDate = dueDate;
    }
    
    @Override
    public LocalDateTime getCalendarDT() {
        return getDueDate();
    }
    
    @Override
    public void setCalendarDT(LocalDateTime date) {
        setDueDate(date);
    }

}

@@ -162,16 +162,57 @@
 dueDate;
+%0A    private boolean isCompleted = false;
 %0A%0A    @O
@@ -725,10 +725,232 @@
 %0A    %7D%0A%0A
+    public boolean isCompleted() %7B%0A        return isCompleted;%0A    %7D%0A    %0A    public void setCompleted() %7B%0A        this.isCompleted = true;%0A    %7D%0A%0A    public void setIncomplete() %7B%0A        this.isCompleted = false;%0A    %7D%0A%0A
 %7D%0A

Create isCompleted property in Task model