Files
cms_thermo_active/Thermo.Active.Model/DTOModels/DTONcSoftKeyModel.cs
T
2020-04-09 14:37:07 +02:00

38 lines
808 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}
}