using System;
namespace Oqtane.Models
{
///
/// A software Package for installation.
///
public class Package
{
///
/// ID of the Package. Usually constructed of the Namespace.
///
public string PackageId { get; set; }
///
/// Owner of the package
///
public string Owner { get; set; }
///
/// Url for the owner of the package
///
public string OwnerUrl { get; set; }
///
/// Friendly name of the package
///
public string Name { get; set; }
///
/// Description of the Package.
///
public string Description { get; set; }
///
/// logo file id
///
public int? LogoFileId { get; set; }
///
/// logo url
///
public string LogoUrl { get; set; }
///
/// License for the Package.
///
public string License { get; set; }
///
/// Friendly name of the package
///
public string ProductUrl { get; set; }
///
/// Version as defined in the NuGet package.
///
public string Version { get; set; }
///
/// Download count to show how popular the package is.
///
public long Downloads { get; set; }
///
/// date the package was released
///
public DateTime ReleaseDate { get; set; }
///
/// The direct Url for downloading the package
///
public string PackageUrl { get; set; }
///
/// The direct Url for getting support for the product
///
public string SupportUrl { get; set; }
///
/// Indicates if any known security vulnerabilities exist
///
public int Vulnerabilities { get; set; }
#region Commercial Properties
///
/// The price of the package
///
public decimal? Price { get; set; }
///
/// The Url for purchasing the package
///
public string PaymentUrl { get; set; }
///
/// The trial period in days
///
public int TrialPeriod { get; set; }
///
/// The expiry date of the package
///
public DateTime? ExpiryDate { get; set; }
#endregion
}
}