Added initial models.
This commit is contained in:
9
Harmonia.Core/Models/SortOption.cs
Normal file
9
Harmonia.Core/Models/SortOption.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Harmonia.Core.Models;
|
||||
|
||||
public class SortOption(string fieldName, ListSortDirection direction)
|
||||
{
|
||||
public string FieldName { get; init; } = fieldName;
|
||||
public ListSortDirection Direction { get; init; } = direction;
|
||||
}
|
||||
Reference in New Issue
Block a user