Exemple #1
0
        public override int GetHashCode()
        {
            int hashCode = 219005029;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (Version != null)
            {
                hashCode += Version.GetHashCode();
            }

            if (Status != null)
            {
                hashCode += Status.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            if (StartAt != null)
            {
                hashCode += StartAt.GetHashCode();
            }

            if (LocationId != null)
            {
                hashCode += LocationId.GetHashCode();
            }

            if (CustomerId != null)
            {
                hashCode += CustomerId.GetHashCode();
            }

            if (CustomerNote != null)
            {
                hashCode += CustomerNote.GetHashCode();
            }

            if (SellerNote != null)
            {
                hashCode += SellerNote.GetHashCode();
            }

            if (AppointmentSegments != null)
            {
                hashCode += AppointmentSegments.GetHashCode();
            }

            return(hashCode);
        }