forked from gongxuegit/tiku-backend.net
feat: add content navigation and tenant configuration
This commit is contained in:
@@ -6,11 +6,20 @@ namespace Tiku.Domain.Learning;
|
||||
public sealed class PracticeSession : TenantEntity
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public Guid? BlueprintId { get; set; }
|
||||
public Guid? CollectionId { get; set; }
|
||||
public Guid? EntryId { get; set; }
|
||||
public Guid? ContentNodeId { get; set; }
|
||||
public string Mode { get; set; } = "chapter";
|
||||
public string? TargetType { get; set; }
|
||||
public Guid? TargetId { get; set; }
|
||||
public DateTimeOffset StartedAt { get; set; } = DateTimeOffset.UtcNow;
|
||||
public DateTimeOffset? FinishedAt { get; set; }
|
||||
public JsonElement QuestionIds { get; set; } = JsonDefaults.Array();
|
||||
public int QuestionCount { get; set; }
|
||||
public int? DurationMinutes { get; set; }
|
||||
public decimal? TotalScore { get; set; }
|
||||
public DateTimeOffset? ExpiresAt { get; set; }
|
||||
public JsonElement Metadata { get; set; } = JsonDefaults.Object();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user