DataJosnRPCResponse.cs 518 B

12345678910111213141516171819
  1. 
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace TEAMModelOS.SDK.Extension.DataResult.JsonRpcResponse
  6. {
  7. public class DataJosnRPCResponse<T> : BaseJosnRPCResponse
  8. {
  9. public DataJosnRPCResponse() {
  10. result= new JsonRPCResult<T>();
  11. }
  12. public Dictionary<string, object> error { get; set; } = null;
  13. public JsonRPCResult<T> result { get; set; }
  14. public int code { get; set; } = 0;
  15. public string message { get; set; } = "Success";
  16. }
  17. }