using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; namespace AIAHTML5.API.Models { public class User { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string EmailId { get; set; } public string LoginId { get; set; } public string Password { get; set; } public int? SecurityQuestionId { get; set; } public string SecurityAnswer { get; set; } public int? CreatorId { get; set; } public DateTime CreationDate { get; set; } public DateTime? DeactivationDate { get; set; } public int? ModifierId { get; set; } public DateTime? ModifiedDate { get; set; } public string UserType { get; set; } public bool IsActive { get; set; } public ArrayList Modules { get; set; } public License License { get; set; } public LicenseSubscriptionDetails LicenseSubscriptions { get; set; } public bool IsSubscriptionExpired { get; set; } public string SubscriptionExpirationDateString { get; set; } public string TermsOfServiceTitle { get; set; } public string TermsOfServiceText { get; set; } public const string SUPER_ADMIN = "Super Admin"; public const string GENERAL_ADMIN = "General Admin"; public const string DISTRICT_ADMIN = "District Admin"; public const string CLIENT_ADMIN = "Client Admin"; public const string SINGLE_USER = "Single User"; public const string CONCURRENT_USER = "Concurrent User"; public const string RESELLER = "Reseller"; public const string TEST_ACCOUNT = "Test Account"; public const string SITE_USER = "Site User"; } public class License { public int Id { get; set; } public string AccountNumber { get; set; } public string LicenseeFirstName { get; set; } public string LicenseeLastName { get; set; } public int LicenseTypeId { get; set; } public string InstitutionName { get; set; } public string Address1 { get; set; } public string Address2 { get; set; } public int CountryId { get; set; } public int StateId { get; set; } public string City { get; set; } public string Zip { get; set; } public string Phone { get; set; } public string EmailId { get; set; } public int TotalLogins { get; set; } public int AccountTypeId { get; set; } public bool IsActive { get; set; } public bool IsDistrictSiteLicense { get; set; } public DateTime CreationDate { get; set; } public DateTime? ModifiedDate { get; set; } public DateTime? CancellationDate { get; set; } public int NoOfRenewals { get; set; } public bool IsTermAccepted { get; set; } public int CardNumber { get; set; } public string ProductId { get; set; } } public class LicenseSubscriptionDetails { public int Id { get; set; } public int LicenseId { get; set; } public int? SubscriptionPlanId { get; set; } public DateTime? SubscriptionValidFrom { get; set; } public DateTime? SubscriptionValidThrough { get; set; } public DateTime? RenewalDate { get; set; } public string PaymentMode { get; set; } public double TotalAmount { get; set; } public double AmountPaid { get; set; } public double AmountPending { get; set; } public int NoOfImages { get; set; } } }