using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Categories
    {
        public Categories()
        {
            CategoryLanguages = new HashSet<CategoryLanguages>();
            StudyNotes = new HashSet<StudyNotes>();
            SubCategories = new HashSet<SubCategories>();
            Tags = new HashSet<Tags>();
        }

        public int Id { get; set; }
        public int SubjectId { get; set; }
        public byte[] Photo { get; set; }
        public DateTime? CreatedOn { get; set; }
        public DateTime? UpdatedOn { get; set; }
        public bool? IsActive { get; set; }

        public virtual Subjects Subject { get; set; }
        public virtual ICollection<CategoryLanguages> CategoryLanguages { get; set; }
        public virtual ICollection<StudyNotes> StudyNotes { get; set; }
        public virtual ICollection<SubCategories> SubCategories { get; set; }
        public virtual ICollection<Tags> Tags { get; set; }
    }
}
