This repository has been archived on 2025-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
BreCal/src/BreCalClient/SearchFilterModel.cs
Daniel Schick 7660ee72f2 Added filtering and sorting to shipcalls in the list.
While doing so, I have also refactored the shipcall processing logic in the main window.
All changes now go through the filter and sorting stage before all controls are removed
and only the controls matching to the sorted list are added to the stack panel.
2023-09-12 16:48:28 +02:00

37 lines
769 B
C#

// Copyright (c) 2023 schick Informatik
// Description: Data model for search filters
//
using BreCalClient.misc.Model;
using System;
using System.Collections.Generic;
namespace BreCalClient
{
internal class SearchFilterModel
{
public SearchFilterModel() { }
#region Properties
public DateTime? EtaFrom { get; set; }
public DateTime? EtaTo { get; set; }
public List<int> Categories { get; set; } = new();
public List<int> Agencies { get; set; } = new();
public List<int> Berths { get; set; } = new();
public string? SearchString { get; set; }
public double? ShipLengthFrom { get; set; }
public double? ShipLengthTo { get; set; }
#endregion
}
}