b53c7fb736
Features: - Category viewer ranges + subcategory templates (admin group modal, tree workspace) - Nomination enrichment via TwitchTracker API (NominationEnrichmentService, TwitchTrackerViewerStatsProvider) with admin tracking rules editor - Nomination group tracker: CategoryGroupName as primary identifier, CategoryId stays as nullable legacy field; StreamerIdentity table - Dynamic showact application form builder (AdminShowactFormBuilder, ShowactApplicationSchedule) - Session idle timeout setting (AdminSessionTimeoutCard) - Share URLs for X and Discord (SiteSettings, public extras) - Workflow rules now stored per season (falls back to global SiteSettings) - New admin routes: settings/access, settings/workflows, tracking-rules - New admin review workspace with subcategory tabs - AdminCategoriesView rebuilt with group/subcategory modals Migrations (all additive): - AddShareUrls, AddShowactDynamicForm, AddCategoryViewerRanges, AddSessionIdleTimeoutSettings, AddSeasonSubcategoryTemplates, AddNominationGroupTrackerIdentity, AddShowactApplicationSchedule, AddSeasonWorkflowRulesJson Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
644 B
C#
18 lines
644 B
C#
namespace Backend.Domain;
|
|
|
|
public sealed class Category
|
|
{
|
|
public int Id { get; set; }
|
|
public int SeasonId { get; set; }
|
|
public Season Season { get; set; } = null!;
|
|
public string GroupName { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Slug { get; set; } = string.Empty;
|
|
public string Description { get; set; } = string.Empty;
|
|
public int SortOrder { get; set; }
|
|
public int MaxNomineesPerUser { get; set; }
|
|
public int? ViewerRangeMin { get; set; }
|
|
public int? ViewerRangeMax { get; set; }
|
|
public ICollection<Candidate> Candidates { get; set; } = [];
|
|
}
|