public static <T> ResponseData<T> createSuccessResult(Number number) { return new ResponseData<>(SUCCESS.getCode(), SUCCESS.getComment(), number); }
public static <T> ResponseData<T> createSuccessResult(Iterable<T> data) { return new ResponseData<>(SUCCESS.getCode(), SUCCESS.getComment(), data); }