public override int GetHashCode() { unchecked { var hashCode = (PotrName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(PotrName) : 0); hashCode = (hashCode * 397) ^ (ProductName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ProductName) : 0); hashCode = (hashCode * 397) ^ ProductCount.GetHashCode(); hashCode = (hashCode * 397) ^ SummaUsd.GetHashCode(); hashCode = (hashCode * 397) ^ SummaRfRb.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (TerritoryName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(TerritoryName) : 0); hashCode = (hashCode * 397) ^ Ceh.GetHashCode(); hashCode = (hashCode * 397) ^ NumberTtn.GetHashCode(); hashCode = (hashCode * 397) ^ NumberAkt.GetHashCode(); hashCode = (hashCode * 397) ^ ShipmentDate.GetHashCode(); hashCode = (hashCode * 397) ^ (ProductName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ProductName) : 0); hashCode = (hashCode * 397) ^ (CompanyName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(CompanyName) : 0); hashCode = (hashCode * 397) ^ ProductCount.GetHashCode(); hashCode = (hashCode * 397) ^ CostWithoutNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithoutNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithoutNdsAndTaxes.GetHashCode(); hashCode = (hashCode * 397) ^ SummaUsd.GetHashCode(); hashCode = (hashCode * 397) ^ UsdRate.GetHashCode(); hashCode = (hashCode * 397) ^ RusRate.GetHashCode(); return(hashCode); } }