Tasks 184281, 184799, 184800, 184801 and 184802
Align .editorconfig files Move Controller logic to DMO classes GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager(); Question EditorConfig Project level editorconfig Format White Spaces AppSetting when EnvironmentVariable not set Corrective Actions Tests Schedule Actions Tests DMO Tests Controller Tests Get ready to use VSCode IDE
This commit is contained in:
@ -1,32 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
namespace Fab2ApprovalSystem.ViewModels;
|
||||
|
||||
public enum ParameterControlTypes {
|
||||
Textbox, DatePicker, Dropdown, Multiselect
|
||||
}
|
||||
|
||||
public class ReportParameterViewModel<T> // <T> => System.Web.Mvc.SelectListItem
|
||||
{
|
||||
public enum ParameterControlTypes
|
||||
{
|
||||
Textbox, DatePicker, Dropdown, Multiselect
|
||||
}
|
||||
public class ReportParameterViewModel
|
||||
{
|
||||
public bool Visible { get; set; }
|
||||
public string Prompt { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string HtmlID { get; set; }
|
||||
public string DefaultValue { get; set; }
|
||||
public ParameterControlTypes ControlType { get; set; }
|
||||
public IEnumerable<System.Web.Mvc.SelectListItem> SelectList { get; set; }
|
||||
}
|
||||
public class ReportViewModel
|
||||
{
|
||||
public String ReportID { get; set; }
|
||||
public String ReportName { get; set; }
|
||||
public String Description { get; set; }
|
||||
|
||||
public String DocType { get; set; }
|
||||
public bool Visible { get; set; }
|
||||
public string Prompt { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string HtmlID { get; set; }
|
||||
public string DefaultValue { get; set; }
|
||||
public ParameterControlTypes ControlType { get; set; }
|
||||
public IEnumerable<T> SelectList { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class ReportViewModel<T> {
|
||||
|
||||
public string ReportID { get; set; }
|
||||
public string ReportName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string DocType { get; set; }
|
||||
public IEnumerable<ReportParameterViewModel<T>> Parameters { get; set; }
|
||||
|
||||
public IEnumerable<ReportParameterViewModel> Parameters { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user