Exemplo n.º 1
0
        /// <summary>
        /// Returns true if FloorplanConfigBean instances are equal
        /// </summary>
        /// <param name="input">Instance of FloorplanConfigBean to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(FloorplanConfigBean input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Id == input.Id ||
                     (Id != null &&
                      Id.Equals(input.Id))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null &&
                      Name.Equals(input.Name))
                 ) &&
                 (
                     Category == input.Category ||
                     (Category != null &&
                      Category.Equals(input.Category))
                 ) &&
                 (
                     ImgBase64 == input.ImgBase64 ||
                     (ImgBase64 != null &&
                      ImgBase64.Equals(input.ImgBase64))
                 ) &&
                 (
                     ImgType == input.ImgType ||
                     (ImgType != null &&
                      ImgType.Equals(input.ImgType))
                 ) &&
                 (
                     Hotspots == input.Hotspots ||
                     Hotspots != null &&
                     Hotspots.SequenceEqual(input.Hotspots)
                 ));
        }