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

ImportResultOutPut.cs 650 B

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