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.

979 B
Raw Blame
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Customer;

public class CustomerDownloadableProductsModel : BaseModel
{
    public IList<DownloadableProductsModel> Items { get; set; } = new List<DownloadableProductsModel>();

    #region Nested classes

    public class DownloadableProductsModel : BaseModel
    {
        public Guid OrderItemGuid { get; set; }

        public string OrderId { get; set; }
        public int OrderNumber { get; set; }

        public string ProductId { get; set; }
        public string ProductName { get; set; }
        public string ProductSeName { get; set; }
        public string ProductAttributes { get; set; }

        public string DownloadId { get; set; }
        public string LicenseId { get; set; }

        public DateTime CreatedOn { get; set; }
    }

    #endregion
}

public class UserAgreementModel : BaseModel
{
    public Guid OrderItemGuid { get; set; }
    public string UserAgreementText { get; set; }
}