feat: enforce tenant isolation and shared question bank

This commit is contained in:
2026-07-27 16:59:12 +08:00
parent 28e9a9fa41
commit db4c7b4496
137 changed files with 6402 additions and 112274 deletions

View File

@@ -141,6 +141,8 @@ public enum ContentStatus
public sealed class QuestionCollectionItem : AuditableTenantEntity
{
public Guid CollectionId { get; set; }
public Guid QuestionReferenceId { get; set; }
public Guid QuestionOwnerTenantId { get; set; }
public Guid QuestionId { get; set; }
public string? SectionKey { get; set; }
public int SortOrder { get; set; }