using System; namespace GB5Shared.GOP.Qualifier.DTOs { /// /// Maps MQUALIFIERDEFINITION — qualifier library header. /// PK: QUALIFIERID (app-generated INT via AutoNumber, not IDENTITY). /// public class QualifierDefinitionDTO { public int QualifierId { get; set; } public int TenantId { get; set; } public string QualifierCode { get; set; } = string.Empty; public string QualifierName { get; set; } = string.Empty; /// 1=Validation, 2=Enrichment, 3=Scoring, 4=Routing public byte QualifierType { get; set; } public int EntityId { get; set; } public string EntityCode { get; set; } = string.Empty; public int TemplateId { get; set; } /// Populated by GetQualifier's join to MTEMPLATE — not a persisted column. public string? TemplateName { get; set; } public byte IsSystem { get; set; } public string? Description { get; set; } public int Status { get; set; } public int SortOrder { get; set; } public int SourceType { get; set; } // Audit fields — set by DAL before insert/update public int CreatedById { get; set; } public int ModifiedById { get; set; } } }