using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Institutes
    {
        public Institutes()
        {
            Classes = new HashSet<Classes>();
            Exams = new HashSet<Exams>();
            ModuleRoles = new HashSet<ModuleRoles>();
            Plans = new HashSet<Plans>();
            Practices = new HashSet<Practices>();
            Questions = new HashSet<Questions>();
            Users = new HashSet<Users>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Domain { get; set; }
        public string ApiKey { get; set; }
        public DateTime? DateOfEstablishment { get; set; }
        public string Address { get; set; }
        public string City { get; set; }
        public int? StateId { get; set; }
        public string Country { get; set; }
        public string PinCode { get; set; }
        public string Logo { get; set; }
        public string ImageUrlSmall { get; set; }
        public string ImageUrlLarge { get; set; }
        public int? SubscriptionId { 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 Theme { get; set; }

        public virtual States State { get; set; }
        public virtual Subscriptions Subscription { get; set; }
        public virtual ICollection<Classes> Classes { get; set; }
        public virtual ICollection<Exams> Exams { get; set; }
        public virtual ICollection<ModuleRoles> ModuleRoles { get; set; }
        public virtual ICollection<Plans> Plans { get; set; }
        public virtual ICollection<Practices> Practices { get; set; }
        public virtual ICollection<Questions> Questions { get; set; }
        public virtual ICollection<Users> Users { get; set; }
    }
}
