using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Support.Models { public class DashboardViewModel { public int Devices { get; set; } public int DevicesToday { get; set; } public int Results { get; set; } public int ResultsAvailable { get; set; } public int ResultsPickedUp { get; set; } public int ResultsNotified { get; set; } public int Maintenance { get; set; } public List LastResults { get; set; } public int ResultsFiles { get; set; } public int EncryptedResultsFiles { get; set; } public int PendingAcks { get; set; } public int DoneAcks { get; set; } } public class Results { public string PGS { get; set; } public string UDID { get; set; } public bool Notified { get; set; } public string NotifiedFormated { get { return (this.Notified ? "Ja" : "Nein"); } } public string NotifiedOn { get; set; } public bool PickedUp { get; set; } public string PickedUpFormated { get { return (this.PickedUp ? "Ja" : "Nein"); } } public string PickedUpOn { get; set; } public bool Available { get; set; } public string AvailableFormated { get { return (this.Available ? "Ja" : "Nein"); } } public string AvailableOn { get; set; } public string Created { get; set; } public string Status { get; set; } public string ZIP { get; set; } public string Birthday { get; set; } public string OrderId { get; set; } } }