32 lines
691 B
C#
32 lines
691 B
C#
namespace Thermo.Active.Model.DTOModels
|
|
{
|
|
public class DTONcSoftKeyModel
|
|
{
|
|
public int Id;
|
|
public bool Active;
|
|
public bool Value;
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
DTONcSoftKeyModel item = obj as DTONcSoftKeyModel;
|
|
|
|
if (item == null)
|
|
return false;
|
|
|
|
if (Id != item.Id)
|
|
return false;
|
|
if (Active != item.Active)
|
|
return false;
|
|
if (Value != item.Value)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
}
|
|
}
|