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.
45 lines
1.2 KiB
45 lines
1.2 KiB
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace Kingo.Plugin.DLTB_IDG.EntiyModel |
|
{ |
|
/// <summary> |
|
/// 国家质检错误信息列表实体 |
|
/// </summary> |
|
public class CheckErrorInfo |
|
{ |
|
public string XH { get; set; } |
|
public string BSM { get; set; } |
|
/// <summary> |
|
/// 错误代码 |
|
/// </summary> |
|
public string ErrorCode { get; set; } |
|
/// <summary> |
|
/// 错误描述 |
|
/// </summary> |
|
public string ErrorDescription { get; set; } |
|
/// <summary> |
|
/// 例外说明 |
|
/// </summary> |
|
public string ExceptionDescription { get; set; } |
|
public string IsOpenEdit { get; set; } |
|
public string CheckType { get; set; } |
|
public string ErrorLayer { get; set; } |
|
} |
|
|
|
public class ErrorInfoComparer : IEqualityComparer<CheckErrorInfo> |
|
{ |
|
public bool Equals(CheckErrorInfo x, CheckErrorInfo y) |
|
{ |
|
return x.BSM == y.BSM; |
|
} |
|
|
|
public int GetHashCode(CheckErrorInfo obj) |
|
{ |
|
return obj.BSM.GetHashCode(); |
|
} |
|
} |
|
}
|
|
|