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

37 lines
658 B

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