initial add
This commit is contained in:
32
Fab2ApprovalSystem/ViewModels/ReportsViewModels.cs
Normal file
32
Fab2ApprovalSystem/ViewModels/ReportsViewModels.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
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 IEnumerable<ReportParameterViewModel> Parameters { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user