using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Exams
    {
        public Exams()
        {
            BookmarkedExams = new HashSet<BookmarkedExams>();
            ExamAttempts = new HashSet<ExamAttempts>();
            ExamLanguages = new HashSet<ExamLanguages>();
            ExamSections = new HashSet<ExamSections>();
            UserGroupExams = new HashSet<UserGroupExams>();
        }

        public int Id { get; set; }
        public int InstituteId { get; set; }
        public int ExamTypeId { get; set; }
        public string ExamStatus { get; set; }
        public DateTime? ExamOpenDatetime { get; set; }
        public DateTime? ExamCloseDatetime { get; set; }
        public int? ExamDurationInMinutes { get; set; }
        public short? AttemptsAllowed { get; set; }
        public string WillNeedAssessment { get; set; }
        public string Complexity { get; set; }
        public byte[] Photo { get; set; }
        public short? TotalMarks { 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 ExamTypes ExamType { get; set; }
        public virtual Institutes Institute { get; set; }
        public virtual ICollection<BookmarkedExams> BookmarkedExams { get; set; }
        public virtual ICollection<ExamAttempts> ExamAttempts { get; set; }
        public virtual ICollection<ExamLanguages> ExamLanguages { get; set; }
        public virtual ICollection<ExamSections> ExamSections { get; set; }
        public virtual ICollection<UserGroupExams> UserGroupExams { get; set; }
    }
}
