You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.3 KiB
C#

1 month ago
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
{
/// <summary>
/// The import result.
/// </summary>
public class ImportResult
{
/// <summary>
/// Gets or sets the import class type.
/// </summary>
public string ImpClsType { get; set; }
/// <summary>
/// Gets or sets the import result details.
/// </summary>
public List<ImportResultDetail> ImpResDetails { get; set; }
}
/// <summary>
/// The import result detail.
/// </summary>
public class ImportResultDetail
{
/// <summary>
/// Gets or sets the key.
/// </summary>
public string Key { get; set; }
/// <summary>
/// Gets or sets the row.
/// </summary>
public int Row { get; set; }
/// <summary>
/// Gets or sets the remark.
/// </summary>
public string Remark { get; set; }
/// <summary>
/// Gets or sets the import result type.
/// </summary>
public ImportResultType ImpResType { get; set; }
/// <summary>
/// Gets or sets the error solve type.
/// </summary>
public ImportErrorSolveType ErrorSolveType { get; set; }
}
/// <summary>
/// The import result type.
/// </summary>
public enum ImportResultType
{
,
,
}
/// <summary>
/// The import result type.
/// </summary>
public enum ImportErrorSolveType
{
,
,
,
}
public enum ResultStatus
{
,
,
,
}
/// <summary>
/// 读取结果类
/// </summary>
public class LoadDataResult
{
/// <summary>
/// Gets or sets the data table.
/// </summary>
public DataTable dataTable { get; set; }
public int recordCount { get; set; }
public ResultStatus status { get; set; }
public string msg { get; set; }
}
}