using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TMSDAL.DTO.EvaluationTemplate { public class EvaluationTemplateDTO { // ===================================================== // PRIMARY KEY // ===================================================== public int EvaluationTemplateId { get; set; } // ===================================================== // PARENT FK // ===================================================== public int EvaluationPlanId { get; set; } /// /// Joined from MEVALUATIONPLAN — display reference for FK /// public string? PlanTitle { get; set; } // ===================================================== // BUSINESS COLUMNS // ===================================================== public string TemplateTitle { get; set; } = string.Empty; public string TemplateVersionNo { get; set; } = "1.0"; /// /// JSON array of questions: /// [{ "id": 1, "text": "...", "type": "rating", "required": true, "options": ["1","2","3","4","5"] }] /// public string QuestionsJson { get; set; } = string.Empty; public string? IntroText { get; set; } /// /// 0 = No, 1 = Yes /// public byte IsActive { get; set; } = 1; } }