namespace GB5Shared.GOP.Qualifier.DTOs { /// /// Maps MQUALIFIERENTITY — entity-stage-scope bindings for a qualifier. /// PK: QUALIFIERENTITYID (live IDENTITY column — DAL assigns it via OUTPUT INSERTED, not AutoNumber). /// public class QualifierEntityDTO { public int QualifierEntityId { get; set; } public int QualifierId { get; set; } public int TenantId { get; set; } public string EntityCode { get; set; } = string.Empty; /// Execution stage (tinyint — domain-specific values) public byte Stage { get; set; } /// Execution scope (tinyint — domain-specific values) public byte Scope { get; set; } public byte IsActive { get; set; } = 1; public int SortOrder { get; set; } public int SourceType { get; set; } // Audit fields — set by DAL public int CreatedById { get; set; } public int ModifiedById { get; set; } } }