package selling.sunshine.utils;

/**
 * Created by sunshine on 4/17/16.
 */
public class Prompt {
    private PromptCode code;
    private String message;

    public Prompt() {
        code = PromptCode.SUCCESS;
    }

    public PromptCode getCode() {
        return code;
    }

    public void setCode(PromptCode code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

@@ -205,32 +205,150 @@
 SUCCESS;%0A    %7D%0A%0A
+    public Prompt(PromptCode code, String message) %7B%0A        this.code = code;%0A        this.message = message;%0A    %7D%0A%0A
     public Promp

add constructor method in prompt