package com.petshop.backend.dto.ai;

public class AiChatResponse {

    private String message;
    private boolean success;
    private String error;

    public AiChatResponse() {
    }

    public static AiChatResponse ok(String message) {
        AiChatResponse r = new AiChatResponse();
        r.message = message;
        r.success = true;

        return r;
    }

    public static AiChatResponse fail(String error) {
        AiChatResponse r = new AiChatResponse();
        r.success = false;
        r.error = error;

        return r;
    }

    public String getMessage() {

        return message;
    }

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

    public boolean isSuccess() {

        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getError() {
        
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
