using System.Collections.Generic; using System.Data; #region 文件说明 /*----------------------------------------------------- * 版权所有 (c) 2024 jdfcd * CLR版本 4.0.30319.42000 * 命名空间 DQ.Construction.NewLook.DataManager * * 创建者:pnpe * 电子邮件:pnpe@qq.com * 创建时间:2024/7/24 9:17:09 */ #endregion 文件说明 namespace DQ.Construction.NewLook.DataManager { /// /// The import result. /// public class ImportResult { /// /// Gets or sets the import class type. /// public string ImpClsType { get; set; } /// /// Gets or sets the import result details. /// public List ImpResDetails { get; set; } } /// /// The import result detail. /// public class ImportResultDetail { /// /// Gets or sets the key. /// public string Key { get; set; } /// /// Gets or sets the row. /// public int Row { get; set; } /// /// Gets or sets the remark. /// public string Remark { get; set; } /// /// Gets or sets the import result type. /// public ImportResultType ImpResType { get; set; } /// /// Gets or sets the error solve type. /// public ImportErrorSolveType ErrorSolveType { get; set; } } /// /// The import result type. /// public enum ImportResultType { 记录重复, 基础不存在, } /// /// The import result type. /// public enum ImportErrorSolveType { 拦截, 追加, 覆盖, } public enum ResultStatus { 成功, 部分成功, 失败, } /// /// 读取结果类 /// public class LoadDataResult { /// /// Gets or sets the data table. /// public DataTable dataTable { get; set; } public int recordCount { get; set; } public ResultStatus status { get; set; } public string msg { get; set; } } }