package io.dataease.notice.util; import com.alibaba.fastjson.JSON; import java.util.HashMap; import java.util.Map; /** * */ public class SendResult { private boolean isSuccess; private Integer errorCode; private String errorMsg; public boolean isSuccess() { return isSuccess; } public void setIsSuccess(boolean isSuccess) { this.isSuccess = isSuccess; } public Integer getErrorCode() { return errorCode; } public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } public String getErrorMsg() { return errorMsg; } public void setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; } public String toString() { Map items = new HashMap(); items.put("errorCode", errorCode); items.put("errorMsg", errorMsg); items.put("isSuccess", isSuccess); return JSON.toJSONString(items); } }