using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class SubCategories
    {
        public SubCategories()
        {
            LibraryContentsSubCategories = new HashSet<LibraryContentsSubCategories>();
            QuestionSubCategories = new HashSet<QuestionSubCategories>();
            StudyNotes = new HashSet<StudyNotes>();
            SubCategoryLanguages = new HashSet<SubCategoryLanguages>();
        }

        public int Id { get; set; }
        public int CategoryId { get; set; }
        public byte[] 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 virtual Categories Category { get; set; }
        public virtual ICollection<LibraryContentsSubCategories> LibraryContentsSubCategories { get; set; }
        public virtual ICollection<QuestionSubCategories> QuestionSubCategories { get; set; }
        public virtual ICollection<StudyNotes> StudyNotes { get; set; }
        public virtual ICollection<SubCategoryLanguages> SubCategoryLanguages { get; set; }
    }
}
