// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Web.Mvc; using Tools.CrashReporter.CrashReportWebSite.DataModels; namespace Tools.CrashReporter.CrashReportWebSite.ViewModels { /// /// The view model for the bugg show page. /// public class BuggViewModel { /// The current Bugg to display details of. public Bugg Bugg { get; set; } /// A container for all the crashes associated with this Bugg. public List Crashes { get; set; } /// The call stack common to all crashes in this Bugg. public CallStackContainer CallStack { get; set; } /// public string SourceContext { get; set; } /// Time spent in generating this site, formatted as a string. public string GenerationTime { get; set; } /// Description of most recent crash public string LatestCrashSummary { get; set; } /// Select list of jira projects public List JiraProjects; /// Jira Project to which to add a new bugg. public string JiraProject { get; set; } /// /// Constructor for BuggViewModel class. /// public BuggViewModel() { JiraProjects = new List() { new SelectListItem(){ Text = "UE", Value = "UE"}, new SelectListItem(){ Text = "FORT", Value = "FORT"}, new SelectListItem(){ Text = "ORION", Value = "ORION"}, }; } } }