License.cs 641 B

1234567891011121314151617181920212223242526
  1. using System;
  2. namespace InABox.Core
  3. {
  4. public class LicenseData : BaseObject
  5. {
  6. public DateTime LastRenewal { get; set; }
  7. /// <summary>
  8. /// The date when this license can next be renewed.
  9. /// </summary>
  10. public DateTime RenewalAvailable { get; set; }
  11. public DateTime Expiry { get; set; }
  12. public Guid CustomerID { get; set; }
  13. public Guid[] UserTrackingItems { get; set; } = Array.Empty<Guid>();
  14. }
  15. public class License : Entity, IPersistent, IRemotable, ILicense<CoreLicense>
  16. {
  17. [NullEditor]
  18. public string Data { get; set; } = "";
  19. }
  20. }