package com.qiuguo.iot.data.resp.third;

import lombok.Data;
import org.springframework.core.ParameterizedTypeReference;

/**
 * @author simon
 * @date 2023/9/21
 * @description
 **/
@Data
public class ThirdRpcResp <T>{
   private Integer code;
   private String msg;
   private Boolean success;
   private Boolean error;
   private T data;

   public static ParameterizedTypeReference<ThirdRpcResp<ThirdIpInfoResp>> getResponseIpType() {
      return new ParameterizedTypeReference<ThirdRpcResp<ThirdIpInfoResp>>() {};
   }
}
