package seedu.address.storage;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import seedu.address.model.task.Name;

@JsonPropertyOrder({"name", "due"})
public abstract class JsonDeadlineTaskMixin {

    JsonDeadlineTaskMixin(@JsonProperty("name") Name name,
                       @JsonProperty("due") LocalDateTime due) {
    }

}

@@ -244,16 +244,28 @@
 %22, %22due%22
+, %22finished%22
 %7D)%0Apubli
@@ -426,16 +426,83 @@
 Time due
+,%0A                       @JsonProperty(%22finished%22) boolean finished
 ) %7B%0A    

update JsonDeadlineTaskMixin for new attribute "isFinished"