License.cs 2.79 KB
//------------------------------------------------------------------------------
// <auto-generated>
//    This code was generated from a template.
//
//    Manual changes to this file may cause unexpected behavior in your application.
//    Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace AIAHTML5.ADMIN.API.Entity
{
    using System;
    using System.Collections.Generic;
    
    public partial class License
    {
        public License()
        {
            this.DiscountToLicenses = new HashSet<DiscountToLicense>();
            this.LicenseSubscriptionDetails = new HashSet<LicenseSubscriptionDetail>();
            this.LicenseToEditions = new HashSet<LicenseToEdition>();
            this.SingleUserDetails = new HashSet<SingleUserDetail>();
            this.UserGroups = new HashSet<UserGroup>();
        }
    
        public int Id { get; set; }
        public string AccountNumber { get; set; }
        public string LicenseeFirstName { get; set; }
        public string LicenseeLastName { get; set; }
        public byte LicenseTypeId { get; set; }
        public byte AccountTypeId { get; set; }
        public string InstitutionName { get; set; }
        public string EmailId { get; set; }
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string City { get; set; }
        public string Zip { get; set; }
        public int StateId { get; set; }
        public int CountryId { get; set; }
        public string Phone { get; set; }
        public int TotalLogins { get; set; }
        public bool IsActive { get; set; }
        public bool IsDistrictSiteLicense { get; set; }
        public System.DateTime CreationDate { get; set; }
        public Nullable<System.DateTime> ModifiedDate { get; set; }
        public Nullable<System.DateTime> CancellationDate { get; set; }
        public int NoOfRenewals { get; set; }
        public bool IsTermsAccepted { get; set; }
        public Nullable<int> CardNumber { get; set; }
        public string ProductId { get; set; }
    
        public virtual AccountType AccountType { get; set; }
        public virtual Country Country { get; set; }
        public virtual ICollection<DiscountToLicense> DiscountToLicenses { get; set; }
        public virtual LicenseType LicenseType { get; set; }
        public virtual State State { get; set; }
        public virtual ICollection<LicenseSubscriptionDetail> LicenseSubscriptionDetails { get; set; }
        public virtual ICollection<LicenseToEdition> LicenseToEditions { get; set; }
        public virtual ICollection<SingleUserDetail> SingleUserDetails { get; set; }
        public virtual ICollection<UserGroup> UserGroups { get; set; }
    }
}