//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/License.aspx.
//
// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
// See the License for the specific language governing rights and limitations under the License.
//
// The Original Code is nopCommerce.
// The Initial Developer of the Original Code is NopSolutions.
// All Rights Reserved.
//
// Contributor(s): _______.
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace NopSolutions.NopCommerce.DataAccess.CustomerManagement{
/// <summary>
/// Represents a customer
/// </summary>
public partial class DBCustomer : BaseDBEntity
{
#region Ctor
/// <summary>
/// Creates a new instance of the DBCustomer class
/// </summary>
public DBCustomer()
{
}
#endregion
#region Properties
/// <summary>
/// Gets or sets the customer identifier
/// </summary>
public int CustomerId { get; set; }
/// <summary>
/// Gets or sets the customer Guid
/// </summary>
public Guid CustomerGuid { get; set; }
/// <summary>
/// Gets or sets the email
/// </summary>
public string Email { get; set; }
/// <summary>
/// Gets or sets the username
/// </summary>
public string Username { get; set; }
/// <summary>
/// Gets or sets the password hash
/// </summary>
public string PasswordHash { get; set; }
/// <summary>
/// Gets or sets the salt key
/// </summary>
public string SaltKey { get; set; }
/// <summary>
/// Gets or sets the affiliate identifier
/// </summary>
public int AffiliateId { get; set; }
/// <summary>
/// Gets or sets the billing address identifier
/// </summary>
public int BillingAddressId { get; set; }
/// <summary>
/// Gets or sets the shipping address identifier
/// </summary>
public int ShippingAddressId { get; set; }
/// <summary>
/// Gets or sets the last payment method identifier
/// </summary>
public int LastPaymentMethodId { get; set; }
/// <summary>
/// Gets or sets the last applied coupon code
/// </summary>
public string LastAppliedCouponCode { get; set; }
/// <summary>
/// Gets or sets the applied gift card coupon code
/// </summary>
public string GiftCardCouponCodes { get; set; }
/// <summary>
/// Gets or sets the selected checkout attributes
/// </summary>
public string CheckoutAttributes { get; set; }
/// <summary>
/// Gets or sets the language identifier
/// </summary>
public int LanguageId { get; set; }
/// <summary>
/// Gets or sets the currency identifier
/// </summary>
public int CurrencyId { get; set; }
/// <summary>
/// Gets or sets the tax display type identifier
/// </summary>
public int TaxDisplayTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer is tax exempt
/// </summary>
public bool IsTaxExempt { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer is administrator
/// </summary>
public bool IsAdmin { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer is guest
/// </summary>
public bool IsGuest { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer is forum moderator
/// </summary>
public bool IsForumModerator { get; set; }
/// <summary>
/// Gets or sets the forum post count
/// </summary>
public int TotalForumPosts { get; set; }
/// <summary>
/// Gets or sets the signature
/// </summary>
public string Signature { get; set; }
/// <summary>
/// Gets or sets the admin comment
/// </summary>
public string AdminComment { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer is active
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the customer has been deleted
/// </summary>
public bool Deleted { get; set; }
/// <summary>
/// Gets or sets the date and time of customer registration
/// </summary>
public DateTime RegistrationDate { get; set; }
/// <summary>
/// Gets or sets the time zone identifier
/// </summary>
public string TimeZoneId { get; set; }
/// <summary>
/// Gets or sets the avatar identifier
/// </summary>
public int AvatarId { get; set; }
#endregion
}
}
|