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.
48 lines
1.5 KiB
48 lines
1.5 KiB
1 year ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace CK.SCP.Models.ScpEntity.ExcelImportEntity
|
||
|
{
|
||
|
public class SCP_CONTRACT_EXCEL
|
||
|
{
|
||
|
public string 合同编号 {set;get;}
|
||
|
public string 类型 {set;get;}
|
||
|
public string 供应商代码 {set;get;}
|
||
|
public string 供应商名称 {set;get;}
|
||
|
public string 供应商物料号 {set;get;}
|
||
|
public string 物料描述 {set;get;}
|
||
|
public string 单位 {set;get;}
|
||
|
public string 开始日期 {set;get;}
|
||
|
public string 结束日期 {set;get;}
|
||
|
public string 最小起订量1 {set;get;}
|
||
|
public string 价格1 {set;get;}
|
||
|
public string 最小起订量2 {set;get;}
|
||
|
public string 价格2 {set;get;}
|
||
|
public string 最小起订量3 {set;get;}
|
||
|
public string 价格3 {set;get;}
|
||
|
public string 最小起订量4 {set;get;}
|
||
|
public string 价格4 { set; get; }
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
public class SCP_CONTRACT_EXCEL_COMPARE: IEqualityComparer<SCP_CONTRACT_EXCEL>
|
||
|
{
|
||
|
public bool Equals(SCP_CONTRACT_EXCEL x, SCP_CONTRACT_EXCEL y)
|
||
|
{
|
||
|
return x.供应商物料号 == y.供应商物料号 && x.物料描述 == y.物料描述;
|
||
|
}
|
||
|
|
||
|
public int GetHashCode(SCP_CONTRACT_EXCEL obj)
|
||
|
{
|
||
|
return obj.合同编号.GetHashCode();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|