Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (PubState != 0)
            {
                hash ^= PubState.GetHashCode();
            }
            hash ^= selectIds_.GetHashCode();
            if (CreateTime != 0L)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (PubTime != 0L)
            {
                hash ^= PubTime.GetHashCode();
            }
            if (TipState != 0)
            {
                hash ^= TipState.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (Like != 0)
            {
                hash ^= Like.GetHashCode();
            }
            if (PubState != 0)
            {
                hash ^= PubState.GetHashCode();
            }
            if (SelectState != 0)
            {
                hash ^= SelectState.GetHashCode();
            }
            if (SelectIndex != 0)
            {
                hash ^= SelectIndex.GetHashCode();
            }
            if (CreateTime != 0L)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (TipState != 0)
            {
                hash ^= TipState.GetHashCode();
            }
            return(hash);
        }