using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class StudyNotes
    {
        public StudyNotes()
        {
            BookmarkedNotes = new HashSet<BookmarkedNotes>();
            StudyNotesTags = new HashSet<StudyNotesTags>();
        }

        public int Id { get; set; }
        public int UserId { get; set; }
        public int SubjectId { get; set; }
        public int? CategoryId { get; set; }
        public int? SubCategoryId { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string PdfUrl { get; set; }
        public string VideoUrl { 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 Categories Category { get; set; }
        public virtual SubCategories SubCategory { get; set; }
        public virtual Subjects Subject { get; set; }
        public virtual Users User { get; set; }
        public virtual ICollection<BookmarkedNotes> BookmarkedNotes { get; set; }
        public virtual ICollection<StudyNotesTags> StudyNotesTags { get; set; }
    }
}
