38 lines
799 B
C#
38 lines
799 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Step.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();
|
|
}
|
|
}
|
|
}
|