...
|
...
|
@@ -3,12 +3,15 @@ |
|
|
*/
|
|
|
package com.monitor.model.domain;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
* 描述:
|
|
|
*
|
|
|
* @author ping.huang
|
|
|
* 2016年3月31日
|
|
|
*/
|
|
|
@Data
|
|
|
public class ErrorCode extends BaseModel {
|
|
|
|
|
|
public ErrorCode(int code, String message) {
|
...
|
...
|
@@ -23,17 +26,5 @@ public class ErrorCode extends BaseModel { |
|
|
|
|
|
private int code;
|
|
|
private String message;
|
|
|
public int getCode() {
|
|
|
return code;
|
|
|
}
|
|
|
public void setCode(int code) {
|
|
|
this.code = code;
|
|
|
}
|
|
|
public String getMessage() {
|
|
|
return message;
|
|
|
}
|
|
|
public void setMessage(String message) {
|
|
|
this.message = message;
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|