平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SafeCampusResult.cs 629 B

4 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. 
  2. //
  3. namespace SafeCampus.Core;
  4. /// <summary>
  5. /// 全局返回结果
  6. /// </summary>
  7. /// <typeparam name="T"></typeparam>
  8. public class SafeCampusResult<T>
  9. {
  10. /// <summary>
  11. /// 状态码
  12. /// </summary>
  13. public int Code { get; set; }
  14. /// <summary>
  15. /// 错误信息
  16. /// </summary>
  17. public object Msg { get; set; }
  18. /// <summary>
  19. /// 数据
  20. /// </summary>
  21. public T Data { get; set; }
  22. /// <summary>
  23. /// 附加数据
  24. /// </summary>
  25. public object Extras { get; set; }
  26. /// <summary>
  27. /// 时间
  28. /// </summary>
  29. public DateTime Time { get; set; }
  30. }