using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Practices
    {
        public Practices()
        {
            BookmarkedPractices = new HashSet<BookmarkedPractices>();
            PracticeAttempts = new HashSet<PracticeAttempts>();
            PracticeQuestions = new HashSet<PracticeQuestions>();
            SubscribedPractices = new HashSet<SubscribedPractices>();
            UserGroupPractices = new HashSet<UserGroupPractices>();
        }

        public int Id { get; set; }
        public int InstituteId { get; set; }
        public int ClassId { get; set; }
        public int LanguageId { get; set; }
        public string Module { get; set; }
        public int ModuleId { get; set; }
        public string ModuleStatus { get; set; }
        public string Name { get; set; }
        public string Instruction { get; set; }
        public string Status { get; set; }
        public DateTime? OpenDatetime { get; set; }
        public short? Complexity { get; set; }
        public string Photo { 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 short? CreditsNeeded { get; set; }

        public virtual Users CreatedByNavigation { get; set; }
        public virtual Institutes Institute { get; set; }
        public virtual Languages Language { get; set; }
        public virtual Users UpdatedByNavigation { get; set; }
        public virtual ICollection<BookmarkedPractices> BookmarkedPractices { get; set; }
        public virtual ICollection<PracticeAttempts> PracticeAttempts { get; set; }
        public virtual ICollection<PracticeQuestions> PracticeQuestions { get; set; }
        public virtual ICollection<SubscribedPractices> SubscribedPractices { get; set; }
        public virtual ICollection<UserGroupPractices> UserGroupPractices { get; set; }
    }
}
