using System; using System.ComponentModel.DataAnnotations; namespace OnlineAssessment.Domain.ViewModels { public class StudyNote { 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 DateTime? UpdatedOn { get; set; } public bool? IsActive { get; set; } } public class StudyNoteViewModel { 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 DateTime? UpdatedOn { get; set; } public bool? IsActive { get; set; } } public class StudyNoteViewAllModel { 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 DateTime? UpdatedOn { get; set; } public bool? IsActive { get; set; } } public class StudyNoteAddModel { [Required] public int UserId { get; set; } [Required] 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 class StudyNoteEditModel : StudyNoteAddModel { [Required] public int Id { get; set; } public bool? IsActive { get; set; } } }