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.

544 B
Raw Blame
namespace Grand.Domain.Discounts;

public class DiscountCoupon : BaseEntity
{
    /// <summary>
    ///     Gets or sets the coupon code
    /// </summary>
    public string CouponCode { get; set; }

    /// <summary>
    ///     Gets or sets the discount id
    /// </summary>
    public string DiscountId { get; set; }

    /// <summary>
    ///     Gets or sets discount used
    /// </summary>
    public bool Used { get; set; }

    /// <summary>
    ///     How many times was used
    /// </summary>
    public int Qty { get; set; }
}