Result.cs 570 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace LYFZ.WxPayAPI
  6. {
  7. public class Result
  8. {
  9. /// <summary>
  10. /// 状态
  11. /// </summary>
  12. public bool Status { get; set; }
  13. /// <summary>
  14. /// 状态编码
  15. /// </summary>
  16. public int StatusCode { get; set; }
  17. /// <summary>
  18. /// 消息内容
  19. /// </summary>
  20. public string Message { get; set; }
  21. }
  22. public class Result<T> :Result
  23. {
  24. public T Data { get; set; }
  25. }
  26. }