using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Institutes
    {
        public Institutes()
        {
            Classes = new HashSet<Classes>();
            ExamPractices = new HashSet<ExamPractices>();
            Exams = new HashSet<Exams>();
            ModuleRoles = new HashSet<ModuleRoles>();
            Questions = new HashSet<Questions>();
            Subscriptions = new HashSet<Subscriptions>();
            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 byte[] 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 virtual States State { get; set; }
        public virtual Subscriptions Subscription { get; set; }
        public virtual ICollection<Classes> Classes { get; set; }
        public virtual ICollection<ExamPractices> ExamPractices { get; set; }
        public virtual ICollection<Exams> Exams { get; set; }
        public virtual ICollection<ModuleRoles> ModuleRoles { get; set; }
        public virtual ICollection<Questions> Questions { get; set; }
        public virtual ICollection<Subscriptions> Subscriptions { get; set; }
        public virtual ICollection<Users> Users { get; set; }
    }
}
