You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
webcrawler/db/src/main/java/db/model/JsonResult.java

17 lines
306 B

package db.model;
public class JsonResult<T extends AbstractModel> extends ToJson{
private T data;
private JsonResult.type type;
public JsonResult(T data, JsonResult.type type) {
this.data = data;
this.type = type;
}
enum type{
success,
fail
}
}