using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class ExamSections
    {
        public ExamSections()
        {
            ExamAttemptsAssessment = new HashSet<ExamAttemptsAssessment>();
            ExamQuestionsMarkWeight = new HashSet<ExamQuestionsMarkWeight>();
        }

        public int Id { get; set; }
        public int ExamId { get; set; }
        public int SubjectId { get; set; }
        public int UserId { get; set; }
        public short? SubjectSequence { get; set; }
        public short? SubjectDuration { get; set; }
        public short? TotalMarks { get; set; }
        public string Status { 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 Exams Exam { get; set; }
        public virtual Subjects Subject { get; set; }
        public virtual Users User { get; set; }
        public virtual ICollection<ExamAttemptsAssessment> ExamAttemptsAssessment { get; set; }
        public virtual ICollection<ExamQuestionsMarkWeight> ExamQuestionsMarkWeight { get; set; }
    }
}
