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.
50 lines
1.1 KiB
50 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace ICSSoft.Frame.Data.Entity
|
|
{
|
|
public class FormReadExcelUIModelColumns
|
|
{
|
|
private string _columnsName;
|
|
|
|
private bool _NotNull;
|
|
|
|
public string columnsName
|
|
{ get { return _columnsName; } set { _columnsName = value; } }
|
|
|
|
public bool NotNull
|
|
{ get { return _NotNull; } set { _NotNull = value; } }
|
|
|
|
|
|
public FormReadExcelUIModelColumns(string ColName, bool isNotNull)
|
|
{
|
|
columnsName = ColName;
|
|
NotNull = isNotNull;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return _columnsName.GetHashCode();
|
|
}
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (obj.GetType() != this.GetType())
|
|
{
|
|
return false;
|
|
}
|
|
FormReadExcelUIModelColumns putIn = obj as FormReadExcelUIModelColumns;
|
|
|
|
if (putIn.columnsName == this.columnsName)
|
|
{
|
|
return true;
|
|
}
|
|
else
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|