AjaxResult.java 789 Bytes
package com.diligrp.website.domain;

public class AjaxResult {
    
    public static final String MSG_SUCC = "成功";

    public AjaxResult() {
    }

    public AjaxResult(boolean success, String message) {
        super();
        this.success = success;
        this.message = message;
    }

    private boolean success;

    private String message;

    public boolean isSuccess() {
        return success;
    }

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

    public String getMessage() {
        return message;
    }

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

    @Override
    public String toString() {
        return "AjaxResult [success=" + success + ", message=" + message + "]";
    }

}