package com.example.habitrack;

/**
 * Created by sshussai on 10/21/17.
 */


public class HabitEvent {
    String word = "hello";

    private String title;
    private boolean status;
    private int eventsDone;
    private int totalEventCount;

    public String getTitle(){
        return this.title;
    }

    public float getProgress(){
        return 100*(eventsDone/totalEventCount);
    }

    public boolean getStatus(){
        return false;
    }
    
    public String get_my_Word() {
        return word;
    }
}

@@ -147,24 +147,52 @@
 ring title;%0A
+    private String comment;%0A
     private 
@@ -284,52 +284,193 @@
 lic 
-String getTitle()%7B%0A        return this.title
+HabitEvent(String title) %7B%0A        this.title = title;%0A    %7D%0A%0A    public String getTitle()%7B%0A        return this.title;%0A    %7D%0A%0A    public String getComment()%7B%0A        return this.comment
 ;%0A  
@@ -622,20 +622,16 @@
 ;%0A    %7D%0A
-    
 %0A    pub

Add constructor to HabitEvent Entity