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

34 lines
735 B
C#

using static CMS_CORE_Library.Models.DataStructures;
namespace Thermo.Active.Model.DTOModels
{
public class DTOAxisNameModel : AxisModel
{
public new string Type;
public override bool Equals(object obj)
{
// Object is not a DTOAxisNameModel instance
if (!(obj is DTOAxisNameModel item))
return false;
if (item.Id != Id)
return false;
if (item.Name != Name)
return false;
if (item.IsSelectable != IsSelectable)
return false;
return true;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
}
}