using System;
using System.Collections.Generic;

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

        public int Id { get; set; }
        public int ClassId { get; set; }
        public string Name { 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 double? Cutoff { get; set; }

        public virtual Classes Class { get; set; }
        public virtual ICollection<Categories> Categories { get; set; }
        public virtual ICollection<ExamSections> ExamSections { get; set; }
    }
}
