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.

1.1 KB
Raw Blame
namespace Grand.Domain.Catalog;

/// <summary>
///     Represents a tier price
/// </summary>
public class TierPrice : SubBaseEntity
{
    /// <summary>
    ///     Gets or sets the store identifier (0 - all stores)
    /// </summary>
    public string StoreId { get; set; }

    /// <summary>
    ///     Gets or sets the customer group identifier
    /// </summary>
    public string CustomerGroupId { get; set; }

    /// <summary>
    ///     Gets or sets the currency code
    /// </summary>
    public string CurrencyCode { get; set; }

    /// <summary>
    ///     Gets or sets the quantity
    /// </summary>
    public int Quantity { get; set; }

    /// <summary>
    ///     Gets or sets the price
    /// </summary>
    public double Price { get; set; }

    /// <summary>
    ///     Gets or sets the start date and time of the special price
    /// </summary>
    public DateTime? StartDateTimeUtc { get; set; }

    /// <summary>
    ///     Gets or sets the end date and time of the special price
    /// </summary>
    public DateTime? EndDateTimeUtc { get; set; }
}