feat: add content navigation and tenant configuration

This commit is contained in:
xiong
2026-07-26 05:05:24 +08:00
parent 5dfb68d8cc
commit e41b38e3a1
13 changed files with 6197 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ public sealed class Question : AuditableTenantEntity
public Guid? SubjectId { get; set; }
public Guid? CategoryId { get; set; }
public Guid? NodeId { get; set; }
public Guid? EntryId { get; set; }
public Guid? ContentNodeId { get; set; }
public Guid? PrimaryCollectionId { get; set; }
public string? LegacyId { get; set; }
public string? LegacySubjectId { get; set; }
public string? LegacyCategoryId { get; set; }
@@ -38,6 +41,7 @@ public sealed class Question : AuditableTenantEntity
public string? TypeLabel { get; set; }
public int? Difficulty { get; set; }
public JsonElement Tags { get; set; } = JsonDefaults.Array();
public JsonElement ExamMarkers { get; set; } = JsonDefaults.Object();
public string? MediaUrl { get; set; }
public bool HasVideoExplanation { get; set; }
public QuestionStatus Status { get; set; } = QuestionStatus.Published;