using System; namespace FrameworkDAL.DTO.Taxonomy { /// /// DTO for MTOPIC — leaf/hierarchical level of the taxonomy. /// TopicDifficulty : 0 Easy | 1 Medium | 2 Hard (value-aligned with TMS's MQUESTIONBANK.QBANKDIFFICULTY) /// SkillId : loose reference to MSKILL.SkillId, -1 = unassigned (not a hard FK — see migration comment) /// public class TopicDTO { public int TopicId { get; set; } public int SubjectId { get; set; } public int ParentTopicId { get; set; } = -1; public string TopicCode { get; set; } = string.Empty; public string TopicName { get; set; } = string.Empty; public byte TopicDifficulty { get; set; } = 1; public int SkillId { get; set; } = -1; public short EstimatedMinutes { get; set; } 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; } } }