using System;
using System.Collections.Generic;

namespace AyaNovaQBI
{
    internal class AyaNovaLicense
    {
        public string serverDbId { get; set; }
        public string licensedTo { get; set; }
        public string dbId { get; set; }
        public bool Perpetual { get; set; }
        public string keySerial { get; set; }
        public DateTime licenseExpiration { get; set; }
        public bool licenseWillExpire { get; set; }
        public bool maintenanceExpired { get; set; }
        public DateTime maintenanceExpiration { get; set; }

        public List<AyaNovaLicenseFeatures> features { get; set; }
    }
    internal class AyaNovaLicenseFeatures
    {
        //name of feature / product
        public string Feature { get; set; }

        //Optional count for items that require it
        public long Count { get; set; }

    }
}
