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

ImportTemplateInput.cs 658 B

2 months ago
123456789101112131415161718192021222324252627282930313233343536
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 导入基础输入
  6. /// </summary>
  7. [ExcelImporter(IsLabelingError = true)]
  8. public class ImportTemplateInput
  9. {
  10. /// <summary>
  11. /// Id
  12. /// </summary>
  13. [ImporterHeader(IsIgnore = true)]
  14. public long Id { get; set; } = CommonUtils.GetSingleId();
  15. /// <summary>
  16. /// 是否有错误
  17. /// </summary>
  18. [ImporterHeader(IsIgnore = true)]
  19. public bool HasError { get; set; }
  20. /// <summary>
  21. /// 错误详情
  22. /// </summary>
  23. [ImporterHeader(IsIgnore = true)]
  24. public IDictionary<string, string> ErrorInfo { get; set; } = new Dictionary<string, string>();
  25. }