SubscriptionPlan.cs 1.61 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
{
    using System;
    using System.Collections.Generic;
    
    public partial class SubscriptionPlan
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public SubscriptionPlan()
        {
            this.EditionToSubscriptionPlans = new HashSet<EditionToSubscriptionPlan>();
            this.LicenseSubscriptionDetails = new HashSet<LicenseSubscriptionDetail>();
        }
    
        public short Id { get; set; }
        public string Title { get; set; }
        public decimal Price { get; set; }
        public byte Duration { get; set; }
        public bool IsActive { get; set; }
        public byte EditionId { get; set; }
    
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<EditionToSubscriptionPlan> EditionToSubscriptionPlans { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<LicenseSubscriptionDetail> LicenseSubscriptionDetails { get; set; }
    }
}