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