平安校园
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.
 
 
 
 
 
 

34 lines
616 B

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