Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CustomerPassword.cs

namespace Nop.Core.Domain.Customers;

/// 
/// Represents a customer password
/// 
public partial class CustomerPassword : BaseEntity
{
    public CustomerPassword()
    {
        PasswordFormat = PasswordFormat.Clear;
    }

    /// 
    /// Gets or sets the customer identifier
    /// 
    public int CustomerId { get; set; }

    /// 
    /// Gets or sets the password
    /// 
    public string Password { get; set; }

    /// 
    /// Gets or sets the password format identifier
    /// 
    public int PasswordFormatId { get; set; }

    /// 
    /// Gets or sets the password salt
    /// 
    public string PasswordSalt { get; set; }

    /// 
    /// Gets or sets the date and time of entity creation
    /// 
    public DateTime CreatedOnUtc { get; set; }

    /// 
    /// Gets or sets the password format
    /// 
    public PasswordFormat PasswordFormat
    {
        get => (PasswordFormat)PasswordFormatId;
        set => PasswordFormatId = (int)value;
    }
}