com.lehuipay.leona.model.ErrorMessage Maven / Gradle / Ivy
package com.lehuipay.leona.model;
import com.alibaba.fastjson.annotation.JSONField;
import com.lehuipay.leona.contracts.ErrorCode;
public class ErrorMessage implements ErrorCode {
@JSONField(name = "type")
private String type;
@JSONField(name = "code")
private String code;
@JSONField(name = "message")
private String message;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public String toString() {
return "ErrorResponse{" +
"type='" + type + '\'' +
", code='" + code + '\'' +
", message='" + message + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy