/// <summary>
 /// Equalses the specified other.
 /// </summary>
 /// <param name="other">The other.</param>
 /// <returns></returns>
 public bool Equals(PfeColumnAttribute other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) &&
            Equals(Name, other.Name) &&
            Type.Equals(other.Type) &&
            Editable == other.Editable &&
            Mandatory == other.Mandatory &&
            Hidden == other.Hidden &&
            Hideable == other.Hideable &&
            Width == other.Width &&
            Equals(Text, other.Text) &&
            Xtype.Equals(other.Xtype) &&
            Align.Equals(other.Align) &&
            Equals(Tooltip, other.Tooltip) &&
            Sortable == other.Sortable &&
            SortDirection.Equals(other.SortDirection) &&
            Equals(Format, other.Format) &&
            DecimalPlaces == other.DecimalPlaces &&
            Equals(DataUrl, other.DataUrl) &&
            Equals(DefaultValue, other.DefaultValue) &&
            Equals(Description, other.Description) &&
            Rank == other.Rank &&
            ReadOnly == other.ReadOnly &&
            MaxLength == other.MaxLength &&
            Validator == other.Validator &&
            SearchFieldDefinition == other.SearchFieldDefinition &&
            Nullable == other.Nullable &&
            SingleComboFilter == other.SingleComboFilter &&
            AllowComboCustomValue == other.AllowComboCustomValue &&
            SearchComboFromLeft == other.SearchComboFromLeft &&
            LoadWhenVisible == other.LoadWhenVisible &&
            Tpl == other.Tpl &&
            MinCharSearch == other.MinCharSearch &&
            AdditionalWhereSqlTemp == other.AdditionalWhereSqlTemp);
 }
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = 17;
         result = result * 23 + base.GetHashCode();
         result = result * 23 + ((Name != null) ? Name.GetHashCode() : 0);
         result = result * 23 + Type.GetHashCode();
         result = result * 23 + Editable.GetHashCode();
         result = result * 23 + Mandatory.GetHashCode();
         result = result * 23 + Hidden.GetHashCode();
         result = result * 23 + Hideable.GetHashCode();
         result = result * 23 + Width.GetHashCode();
         result = result * 23 + ((Text != null) ? Text.GetHashCode() : 0);
         result = result * 23 + Xtype.GetHashCode();
         result = result * 23 + Align.GetHashCode();
         result = result * 23 + ((Tooltip != null) ? Tooltip.GetHashCode() : 0);
         result = result * 23 + Sortable.GetHashCode();
         result = result * 23 + SortDirection.GetHashCode();
         result = result * 23 + ((Format != null) ? Format.GetHashCode() : 0);
         result = result * 23 + DecimalPlaces.GetHashCode();
         result = result * 23 + ((DataUrl != null) ? DataUrl.GetHashCode() : 0);
         result = result * 23 + ((DefaultValue != null) ? DefaultValue.GetHashCode() : 0);
         result = result * 23 + ((Description != null) ? Description.GetHashCode() : 0);
         result = result * 23 + Rank.GetHashCode();
         result = result * 23 + ReadOnly.GetHashCode();
         result = result * 23 + MaxLength.GetHashCode();
         result = result * 23 + ((Validator != null) ? Validator.GetHashCode() : 0);
         result = result * 23 + ((SearchFieldDefinition != null) ? SearchFieldDefinition.GetHashCode() : 0);
         result = result * 23 + SingleComboFilter.GetHashCode();
         result = result * 23 + AllowComboCustomValue.GetHashCode();
         result = result * 23 + SearchComboFromLeft.GetHashCode();
         result = result * 23 + LoadWhenVisible.GetHashCode();
         result = result * 23 + Nullable.GetHashCode();
         result = result * 23 + ((Tpl != null) ? Tpl.GetHashCode() : 0);
         result = result * 23 + MinCharSearch.GetHashCode();
         result = result * 23 + ((AdditionalWhereSqlTemp != null) ? AdditionalWhereSqlTemp.GetHashCode() : 0);
         return(result);
     }
 }