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.
 
 
 

20 lines
341 B

package com.example.demo.model;
public class JsonResponse<T> {
private Result result;
private T body;
public JsonResponse(Result result, T body) {
this.result = result;
this.body = body;
}
public Result getResult() {
return result;
}
public T getBody() {
return body;
}
}