public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (sourceNote_ != null)
            {
                hash ^= SourceNote.GetHashCode();
            }
            if (Category != 0)
            {
                hash ^= Category.GetHashCode();
            }
            if (AdditionalNote.Length != 0)
            {
                hash ^= AdditionalNote.GetHashCode();
            }
            if (IncludeOnConfirmation != false)
            {
                hash ^= IncludeOnConfirmation.GetHashCode();
            }
            if (SourceNoteSubject.Length != 0)
            {
                hash ^= SourceNoteSubject.GetHashCode();
            }
            if (guest_ != null)
            {
                hash ^= Guest.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (sourceNote_ != null)
            {
                hash ^= SourceNote.GetHashCode();
            }
            if (Category != 0)
            {
                hash ^= Category.GetHashCode();
            }
            if (AdditionalNote.Length != 0)
            {
                hash ^= AdditionalNote.GetHashCode();
            }
            if (IncludeOnConfirmation != false)
            {
                hash ^= IncludeOnConfirmation.GetHashCode();
            }
            if (lodgingReservation_ != null)
            {
                hash ^= LodgingReservation.GetHashCode();
            }
            if (SourceNoteSubject.Length != 0)
            {
                hash ^= SourceNoteSubject.GetHashCode();
            }
            if (IsFulfilled != false)
            {
                hash ^= IsFulfilled.GetHashCode();
            }
            if (PermanentOnGuestRecord != false)
            {
                hash ^= PermanentOnGuestRecord.GetHashCode();
            }
            if (incidentalItemId_ != null)
            {
                hash ^= IncidentalItemId.GetHashCode();
            }
            if (incStartDate_ != null)
            {
                hash ^= IncStartDate.GetHashCode();
            }
            if (incEndDate_ != null)
            {
                hash ^= IncEndDate.GetHashCode();
            }
            return(hash);
        }