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;
    }
}

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 Prompt(PromptCode code, String message) {
        this.code = code;
        this.message = message;
    }

    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;
    }
}

add constructor method in prompt