using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class ExamPractices
    {
        public ExamPractices()
        {
            BookmarkedPractices = new HashSet<BookmarkedPractices>();
            ExamPracticeAttempts = new HashSet<ExamPracticeAttempts>();
            ExamPracticeLanguages = new HashSet<ExamPracticeLanguages>();
            ExamQuestionsInPractice = new HashSet<ExamQuestionsInPractice>();
            StudentAnswers = new HashSet<StudentAnswers>();
        }

        public int Id { get; set; }
        public int ExamPracticeTypeId { get; set; }
        public string Status { get; set; }
        public int UserGroupId { get; set; }
        public short? TotalDurationInMinutes { get; set; }
        public short? QuestionDurationInMinutes { get; set; }
        public string Complexity { get; set; }
        public byte[] Photo { get; set; }
        public short? TotalMarks { get; set; }
        public int? LanguageId { get; set; }
        public int InstituteId { 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 Users CreatedByNavigation { get; set; }
        public virtual ExamPracticeTypes ExamPracticeType { get; set; }
        public virtual Institutes Institute { get; set; }
        public virtual Languages Language { get; set; }
        public virtual ICollection<BookmarkedPractices> BookmarkedPractices { get; set; }
        public virtual ICollection<ExamPracticeAttempts> ExamPracticeAttempts { get; set; }
        public virtual ICollection<ExamPracticeLanguages> ExamPracticeLanguages { get; set; }
        public virtual ICollection<ExamQuestionsInPractice> ExamQuestionsInPractice { get; set; }
        public virtual ICollection<StudentAnswers> StudentAnswers { get; set; }
    }
}
