LANCommander/LANCommander.Launcher.Models/LibraryFilterModel.cs
2024-11-09 17:15:04 -06:00

27 lines
1 KiB
C#

using LANCommander.Launcher.Data.Models;
using LANCommander.Launcher.Models.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LANCommander.Launcher.Models
{
public class LibraryFilterModel
{
public string Title { get; set; }
public GroupBy GroupBy { get; set; } = GroupBy.Collection;
public SortBy SortBy { get; set; } = SortBy.Title;
public SortDirection SortDirection { get; set; } = SortDirection.Ascending;
public ICollection<Engine> Engines { get; set; }
public ICollection<Genre> Genres { get; set; }
public ICollection<Tag> Tags { get; set; }
public ICollection<Platform> Platforms { get; set; }
public ICollection<Company> Developers { get; set; }
public ICollection<Company> Publishers { get; set; }
public int? MinPlayers { get; set; }
public int? MaxPlayers { get; set; }
public bool Installed { get; set; }
}
}