using System;
namespace InABox.Core
{
public class LicenseData : BaseObject
{
public DateTime LastRenewal { get; set; }
///
/// The date when this license can next be renewed.
///
public DateTime RenewalAvailable { get; set; }
public DateTime Expiry { get; set; }
public Guid CustomerID { get; set; }
public Guid[] UserTrackingItems { get; set; }
protected override void Init()
{
base.Init();
UserTrackingItems = Array.Empty();
}
}
public class License : Entity, IPersistent, IRemotable, ILicense
{
[NullEditor]
public string Data { get; set; }
protected override void Init()
{
base.Init();
Data = "";
}
}
}