| 12345678910111213141516171819202122232425262728293031323334353637383940 | using System;namespace InABox.Core{    public class LicenseData : BaseObject    {        public DateTime LastRenewal { get; set; }        /// <summary>        /// The date when this license can next be renewed.        /// </summary>        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<Guid>();        }    }    public class License : Entity, IPersistent, IRemotable, ILicense<CoreLicense>    {        [NullEditor]        public string Data { get; set; }        protected override void Init()        {            base.Init();            Data = "";        }    }}
 |