Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (ActType != 0)
            {
                hash ^= ActType.GetHashCode();
            }
            if (Pro != 0)
            {
                hash ^= Pro.GetHashCode();
            }
            if (Power != 0)
            {
                hash ^= Power.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (NeedTime != 0)
            {
                hash ^= NeedTime.GetHashCode();
            }
            hash ^= Fans.GetHashCode();
            hash ^= Consume.GetHashCode();
            hash ^= awards_.GetHashCode();
            if (RandomeFansNum != 0)
            {
                hash ^= RandomeFansNum.GetHashCode();
            }
            if (Order != 0)
            {
                hash ^= Order.GetHashCode();
            }
            if (MovieId != 0)
            {
                hash ^= MovieId.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (UserName.Length != 0)
            {
                hash ^= UserName.GetHashCode();
            }
            if (UserHead != 0)
            {
                hash ^= UserHead.GetHashCode();
            }
            if (LastLoginTime != 0L)
            {
                hash ^= LastLoginTime.GetHashCode();
            }
            if (CardNum != 0)
            {
                hash ^= CardNum.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            if (PowerGetState != 0)
            {
                hash ^= PowerGetState.GetHashCode();
            }
            if (PowerBeGivenState != 0)
            {
                hash ^= PowerBeGivenState.GetHashCode();
            }
            if (PowerSendState != 0)
            {
                hash ^= PowerSendState.GetHashCode();
            }
            return(hash);
        }
Beispiel #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            if (CardId != 0)
            {
                hash ^= CardId.GetHashCode();
            }
            if (Favorability != 0)
            {
                hash ^= Favorability.GetHashCode();
            }
            return(hash);
        }