AjaxResult.java
789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 + "]";
}
}