Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

950 B
Raw Blame
using Grand.Domain.Localization;

namespace Grand.Domain.Common;

/// <summary>
///     Represents an address attribute value
/// </summary>
public class AddressAttributeValue : BaseEntity, ITranslationEntity
{
    /// <summary>
    ///     Gets or sets the address attribute identifier
    /// </summary>
    public string AddressAttributeId { get; set; }

    /// <summary>
    ///     Gets or sets the checkout attribute name
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     Gets or sets a value indicating whether the value is pre-selected
    /// </summary>
    public bool IsPreSelected { get; set; }

    /// <summary>
    ///     Gets or sets the display order
    /// </summary>
    public int DisplayOrder { get; set; }


    /// <summary>
    ///     Gets or sets the collection of locales
    /// </summary>
    public IList<TranslationEntity> Locales { get; set; } = new List<TranslationEntity>();
}