package com.example.habitrack;

/**
 * Created by Abdul on 2017-11-29.
 */

public class NewUser {

    private String userName;
    private String userID = null;



    public NewUser(String userName){
        this.userName = userName;

    }

    public String getTitle(){
        return userName;
    }

    public String getId(){
        return userID;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }
}

@@ -25,16 +25,57 @@
 track;%0A%0A
+import io.searchbox.annotations.JestId;%0A%0A
 /**%0A * C
@@ -159,24 +159,36 @@
 g userName;%0A
+    @JestId%0A
     private 
@@ -204,15 +204,8 @@
 erID
- = null
 ;%0A%0A%0A

add @JestId tag to userID