Authored by zhengyouwei

lombook

... ... @@ -78,6 +78,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
... ...
... ... @@ -16,6 +16,10 @@
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
... ...
... ... @@ -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;
}
}
... ...
... ... @@ -39,11 +39,6 @@
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>monitor-service</groupId>
<artifactId>monitor-service-model</artifactId>
</dependency>
... ...