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

45 lines
650 B

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 导入结果输出
  5. /// </summary>
  6. public class ImportResultOutPut<T> where T : class
  7. {
  8. /// <summary>
  9. /// 是否成功
  10. /// </summary>
  11. public bool Success { get; set; } = true;
  12. /// <summary>
  13. /// 总数
  14. /// </summary>
  15. public int Total { get; set; }
  16. /// <summary>
  17. /// 导入数量
  18. /// </summary>
  19. public int ImportCount { get; set; }
  20. /// <summary>
  21. /// 错误数
  22. /// </summary>
  23. public int FailCount { get; set; }
  24. /// <summary>
  25. /// 数据
  26. /// </summary>
  27. public List<T> Data { get; set; } = new List<T>();
  28. }