protected bool Equals(QuickNSmart.Contracts.Business.Account.ILoginUser other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(User, other.User) && IsEqualsWith(Roles, other.Roles));
 }
        public void CopyProperties(QuickNSmart.Contracts.Business.Account.ILoginUser other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id        = other.Id;
                Timestamp = other.Timestamp;
                User      = other.User;
                Roles     = other.Roles;
            }
            AfterCopyProperties(other);
        }
 partial void AfterCopyProperties(QuickNSmart.Contracts.Business.Account.ILoginUser other);
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Business.Account.ILoginUser other, ref bool handled);