using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Plans
    {
        public Plans()
        {
            OrderPayment = new HashSet<OrderPayment>();
            Orders = new HashSet<Orders>();
            Subscriptions = new HashSet<Subscriptions>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public DateTime? CreatedOn { get; set; }
        public int? CreatedBy { get; set; }
        public DateTime? UpdatedOn { get; set; }
        public int? UpdatedBy { get; set; }
        public bool? IsActive { get; set; }
        public string Code { get; set; }
        public string Image { get; set; }
        public int? PaidExams { get; set; }
        public int? PaidPractices { get; set; }
        public int? DurationDays { get; set; }
        public int? InitialPrice { get; set; }
        public int? FinalPrice { get; set; }
        public string Status { get; set; }
        public int InstituteId { get; set; }

        public virtual Institutes Institute { get; set; }
        public virtual ICollection<OrderPayment> OrderPayment { get; set; }
        public virtual ICollection<Orders> Orders { get; set; }
        public virtual ICollection<Subscriptions> Subscriptions { get; set; }
    }
}
