divan/RMuseum/Models/Divan/DivanCommentSortOrder.cs
Anas Rashid 532d005cdb Rename Ganjoor -> Divan throughout the code
Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files,
folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*).
External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed
consistently (no pending model changes); requires a fresh database.
Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:49:01 +02:00

24 lines
491 B
C#

namespace RMuseum.Models.Divan
{
/// <summary>
/// how to sort a poem's comments
/// </summary>
public enum DivanCommentSortOrder
{
/// <summary>
/// highest rating first (ties broken by oldest first)
/// </summary>
TopRated = 0,
/// <summary>
/// oldest comment first
/// </summary>
Oldest = 1,
/// <summary>
/// newest comment first
/// </summary>
Newest = 2,
}
}