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(); } } }