60 lines
1.3 KiB
C#
60 lines
1.3 KiB
C#
using PayPalCheckoutSdk.Orders;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace gehGassi.Web.Models
|
|
{
|
|
public class StatisticVm
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Viewmmodel für die Auswahl des Zeitraums einer Statistik
|
|
/// </summary>
|
|
public class StatisticDateRangeVm
|
|
{
|
|
/// <summary>
|
|
/// Start-Datum
|
|
/// </summary>
|
|
[Display(Name = "Common_Date")]
|
|
public DateTimeOffset? Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// Enddatum
|
|
/// </summary>
|
|
[Display(Name = "Common_Date")]
|
|
public DateTimeOffset? End { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gewähltes Land
|
|
/// </summary>
|
|
[Display(Name = "Common_Country")]
|
|
public string CountryIso { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Viewmodel für die Anzeige der Statistik für Walks
|
|
/// </summary>
|
|
public class StatisticWalkVm
|
|
{
|
|
/// <summary>
|
|
/// Gesamt
|
|
/// </summary>
|
|
public int Total { get; set; }
|
|
|
|
public int ToPay { get; set; }
|
|
|
|
public int Running { get; set; }
|
|
|
|
public int Completed { get; set; }
|
|
|
|
public int NotCompleted { get; set; }
|
|
|
|
public int Confirmed { get; set; }
|
|
|
|
public int Complained { get; set; }
|
|
|
|
public int ComplainResolved { get; set; }
|
|
}
|
|
}
|