Webiant Logo Webiant Logo
  1. No results found.

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

Download.cs

namespace Nop.Core.Domain.Media;

/// 
/// Represents a download
/// 
public partial class Download : BaseEntity
{
    /// 
    /// Gets or sets a GUID
    /// 
    public Guid DownloadGuid { get; set; }

    /// 
    /// Gets or sets a value indicating whether DownloadUrl property should be used
    /// 
    public bool UseDownloadUrl { get; set; }

    /// 
    /// Gets or sets a download URL
    /// 
    public string DownloadUrl { get; set; }

    /// 
    /// Gets or sets the download binary
    /// 
    public byte[] DownloadBinary { get; set; }

    /// 
    /// The mime-type of the download
    /// 
    public string ContentType { get; set; }

    /// 
    /// The filename of the download
    /// 
    public string Filename { get; set; }

    /// 
    /// Gets or sets the extension
    /// 
    public string Extension { get; set; }

    /// 
    /// Gets or sets a value indicating whether the download is new
    /// 
    public bool IsNew { get; set; }
}