using System; namespace FrameworkDAL.DTO.Taxonomy { /// /// DTO for MLEARNINGOBJECT — the canonical curriculum-content wrapper ("Learning Object"). /// LOType : 1 Quiz | 2 WorkInstruction | 3 Show/Enablement | 4 IdmsDocument | 5 ExternalLink | /// 6 Video | 7 Document | 8 ScormPackage (reserved) | 9 TrainingSession /// Difficulty : 0 Easy | 1 Medium | 2 Hard (value-aligned with MTOPIC.TopicDifficulty) /// public class LearningObjectDTO { public int LearningObjectId { get; set; } public byte LoType { get; set; } public int SourceEntityId { get; set; } public int TopicId { get; set; } = -1; public string Title { get; set; } = string.Empty; public string? Description { get; set; } public short DurationMin { get; set; } public byte Difficulty { get; set; } = 1; public byte IsShared { get; set; } = 0; public byte IsActive { get; set; } = 1; // Standard fields public short Version { get; set; } public byte Status { get; set; } public short SortOrder { get; set; } public byte SourceType { get; set; } public int TenantId { get; set; } public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } } }