namespace GB5Shared.GOP.Qualifier.DTOs { /// /// Maps MQUALIFIERSCOPE — per-qualifier Stage/Scope declarations (distinct from /// MQUALIFIERENTITY, which binds a qualifier to an EntityCode at a given Stage/Scope; /// this table just declares which Stage/Scope combinations a qualifier applies to, /// with no EntityCode of its own). /// Stage: 1=PreValidate,2=PreSave,3=PreWorkflow,4=PreEventPublish,5=PreNotification, /// 6=PostSave,7=PreExport,8=PrePrint,9=OnDemand. /// Scope: 1=Workflow,2=Save,3=Export,4=Import,5=Print,6=UI,7=Audit,8=Assignment. /// PK: QUALIFIERSCOPEID (app-generated INT via AutoNumber, not IDENTITY). /// public class QualifierScopeDTO { public int TenantId { get; set; } public int QualifierScopeId { get; set; } public int QualifierId { get; set; } public byte Stage { get; set; } 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; } } }