You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
848 B
Java
48 lines
848 B
Java
package com.engine.service.entity;
|
|
|
|
import java.util.Map;
|
|
|
|
public class Result {
|
|
public Object data;
|
|
public Integer code;
|
|
public String errMsg;
|
|
|
|
public Result() {
|
|
}
|
|
|
|
public Result(Object data, Integer code) {
|
|
this.data = data;
|
|
this.code = code;
|
|
}
|
|
|
|
public Result(Object data, Integer code, String errMsg) {
|
|
this.data = data;
|
|
this.code = code;
|
|
this.errMsg = errMsg;
|
|
}
|
|
|
|
public Object getData() {
|
|
return data;
|
|
}
|
|
|
|
public void setData(Object data) {
|
|
this.data = data;
|
|
}
|
|
|
|
public Integer getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(Integer code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public String getErrMsg() {
|
|
return errMsg;
|
|
}
|
|
|
|
public void setErrMsg(String errMsg) {
|
|
this.errMsg = errMsg;
|
|
}
|
|
}
|