ApiJsonModel.cs 472 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SMP.Tool.TimingTask.Models
  8. {
  9. public class ApiJsonModel<T>
  10. {
  11. public ApiJsonModel() { }
  12. public HttpStatusCode code { get; set; }
  13. public bool success { get; set; }
  14. public string error { get; set; }
  15. public string message { get; set; }
  16. public T data { get; set; }
  17. }
  18. }