initial add
This commit is contained in:
21
Fab2ApprovalSystem/ViewModels/ApproversListViewModel.cs
Normal file
21
Fab2ApprovalSystem/ViewModels/ApproversListViewModel.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ApproversListViewModel
|
||||
{
|
||||
public int ApprovalID { get; set; }
|
||||
public int UserID { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string RoleName { get; set; }
|
||||
public string SubRoleName { get; set; }
|
||||
public string Status { get; set; }
|
||||
public DateTime? AssignedDate { get; set; }
|
||||
public DateTime? CompletedDate { get; set; }
|
||||
public string Comments { get; set; }
|
||||
|
||||
}
|
||||
}
|
70
Fab2ApprovalSystem/ViewModels/ChangeControlViewModel.cs
Normal file
70
Fab2ApprovalSystem/ViewModels/ChangeControlViewModel.cs
Normal file
@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ChangeControlViewModel
|
||||
{
|
||||
|
||||
public int PlanNumber { get; set; }
|
||||
public int OwnerID { get; set; }
|
||||
public string OwnerName { get; set; }
|
||||
public byte CurrentStep { get; set; }
|
||||
public int Status { get; set; }
|
||||
public int MeetingExist { get; set; }
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? ClosedDate { get; set; }
|
||||
|
||||
public int ChangeLevel { get; set; }
|
||||
public int IsITAR { get; set; }
|
||||
public int IsMedical { get; set; }
|
||||
public int IsRadHard { get; set; }
|
||||
public int IsAutomotive { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string ReasonForChange { get; set; }
|
||||
public string ChangeDescription { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string RecordLockByName { get; set; }
|
||||
public bool PCRBClosed { get; set; }
|
||||
|
||||
// important!!make sure the id of the control matches the name of the field in the model it is being binded to,
|
||||
// in order to get the selected items from the control
|
||||
//public List<int> GenerationIDs { get; set; }
|
||||
|
||||
//public List<int> LogisticsIDs { get; set; }
|
||||
//public List<int> ProcessIDs { get; set; }
|
||||
//public List<int> ToolTypeIDs { get; set; }
|
||||
//public List<string> PartNumberIDs { get; set; }
|
||||
|
||||
//public string Generations { get; set; }
|
||||
//public string Logistics { get; set; }
|
||||
//public string Processes { get; set; }
|
||||
//public string ToolTypes { get; set; }
|
||||
//public string PartNumbers { get; set; }
|
||||
public bool RecordLockIndicator { get; set; }
|
||||
public int RecordLockedBy { get; set; }
|
||||
public bool RecordLocked { get; set; }
|
||||
public DateTime RecordLockedDate { get; set; }
|
||||
public DateTime LastUpdateDate { get; set; }
|
||||
public int PCR1ID { get; set; }
|
||||
public int PCR2ID { get; set; }
|
||||
public int PCR3ID { get; set; }
|
||||
public string PlanTitle { get; set; }
|
||||
|
||||
|
||||
public ChangeControlViewModel()
|
||||
{
|
||||
//GenerationIDs = new List<int>();
|
||||
//LogisticsIDs = new List<int>();
|
||||
//ProcessIDs = new List<int>();
|
||||
|
||||
//ToolTypeIDs = new List<int>();
|
||||
//PartNumberIDs = new List<string>();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
16
Fab2ApprovalSystem/ViewModels/CloseToQDBOptionViewModel.cs
Normal file
16
Fab2ApprovalSystem/ViewModels/CloseToQDBOptionViewModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class CloseToQDBOptionViewModel
|
||||
{
|
||||
|
||||
public int CloseToQDBOptionID { get; set; }
|
||||
[Display(Name = "Close To QDB(Yes/No)")]
|
||||
public string CloseToQDBOption { get; set; }
|
||||
}
|
||||
}
|
11
Fab2ApprovalSystem/ViewModels/ECNTrainingAssignment.cs
Normal file
11
Fab2ApprovalSystem/ViewModels/ECNTrainingAssignment.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ECNTrainingAssignment
|
||||
{
|
||||
}
|
||||
}
|
19
Fab2ApprovalSystem/ViewModels/ECNTrainingAssignments.cs
Normal file
19
Fab2ApprovalSystem/ViewModels/ECNTrainingAssignments.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ECNTrainingAssignments
|
||||
{
|
||||
public int TrainingAssignmentID { get; set; }
|
||||
public int ECN_ID { get; set; }
|
||||
public int TrainingID { get; set; }
|
||||
public DateTime? DateAssigned { get; set; }
|
||||
public DateTime? DateCompleted { get; set; }
|
||||
public bool Status { get; set; }
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class IssueWithExistingLotsViewModel
|
||||
{
|
||||
public string IssuesList { get; set; }
|
||||
public string LotList { get; set; }
|
||||
}
|
||||
}
|
28
Fab2ApprovalSystem/ViewModels/LTMaterial.cs
Normal file
28
Fab2ApprovalSystem/ViewModels/LTMaterial.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class LTMaterialViewModel
|
||||
{
|
||||
public int ID { get; set; }
|
||||
[Display(Name = "WIP Part #")]
|
||||
public string WIPPartNumber { get; set; }
|
||||
public string Description { get; set; }
|
||||
[Display(Name = "EPI Silicon Part#")]
|
||||
public string EPISiliconPartNumber { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public string Supplier { get; set; }
|
||||
public string Source { get; set; }
|
||||
public int LTWorkRequestID { get; set; }
|
||||
public int PreviousMaterialID { get; set; }
|
||||
|
||||
public LTMaterialViewModel()
|
||||
{
|
||||
Description = "";
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class LotDispositionLotSummaryViewModel
|
||||
{
|
||||
public int IssueID { get; set; }
|
||||
|
||||
// release lot sunn
|
||||
public int LotCount { get; set; }
|
||||
public int LotStatusOption { get; set; }
|
||||
|
||||
public int TotalWaferCount { get; set; }
|
||||
public int TotalDieCount { get; set; }
|
||||
public double TotalCost { get; set; }
|
||||
|
||||
public int ReleaseWaferCount { get; set; }
|
||||
public int ReleaseDieCount { get; set; }
|
||||
public string ReleaseCost { get; set; }
|
||||
|
||||
public int ScrapWaferCount { get; set; }
|
||||
public int ScrapDieCount { get; set; }
|
||||
public string ScrapCost { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
41
Fab2ApprovalSystem/ViewModels/LotDispositionViewModel.cs
Normal file
41
Fab2ApprovalSystem/ViewModels/LotDispositionViewModel.cs
Normal file
@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class IssuesViewModel
|
||||
{
|
||||
|
||||
[Display(Name = "Document Type")]
|
||||
public string DocumentType { get; set; }
|
||||
[Display(Name = "Sub Category")]
|
||||
public string SubDoc { get; set; }
|
||||
[Display(Name = "Issue#")]
|
||||
public int IssueID { get; set; }
|
||||
public int DocID { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string IssueDescription { get; set; }
|
||||
public string LotNos { get; set; }
|
||||
public DateTime? IssueDate { get; set; }
|
||||
[Display(Name = "Submit Date")]
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? SubmitedDate { get; set; }
|
||||
public DateTime? CloseDate { get; set; }
|
||||
public string Originator { get; set; }
|
||||
public string ScrapDescription { get; set; }
|
||||
public string PendingApprovers { get; set; }
|
||||
public int ItemStatus { get; set; }
|
||||
|
||||
public DateTime? ExpirationDate { get; set; }
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? ExtensionDate { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
16
Fab2ApprovalSystem/ViewModels/LotStatusOptionViewModel.cs
Normal file
16
Fab2ApprovalSystem/ViewModels/LotStatusOptionViewModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class LotStatusOptionViewModel
|
||||
{
|
||||
public int LotStatusOptionID { get; set; }
|
||||
[Display(Name="Lot Status")]
|
||||
public string LotStatusOption { get; set; }
|
||||
}
|
||||
|
||||
}
|
19
Fab2ApprovalSystem/ViewModels/OOOViewModel.cs
Normal file
19
Fab2ApprovalSystem/ViewModels/OOOViewModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class OOOViewModel
|
||||
{
|
||||
public int OOOUserID { get; set; }
|
||||
public string OOOUser { get; set; }
|
||||
public bool IsOOO { get; set; }
|
||||
public int DelegatedToUserID { get; set; }
|
||||
public string DelegatedToUser { get; set; }
|
||||
public DateTime OOOStartDate { get; set; }
|
||||
public DateTime OOOEndDate { get; set; }
|
||||
|
||||
}
|
||||
}
|
19
Fab2ApprovalSystem/ViewModels/OpenActionItemViewModel.cs
Normal file
19
Fab2ApprovalSystem/ViewModels/OpenActionItemViewModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class OpenActionItemViewModel
|
||||
{
|
||||
public int IssueID { get; set; }
|
||||
public int DocID { get; set; }
|
||||
public string DocumentType { get; set; }
|
||||
public string DocumentTypeDisplay { get; set; }
|
||||
public string Originator { get; set; }
|
||||
public DateTime? AssignedDate { get; set; }
|
||||
public DateTime? DueDate { get; set; }
|
||||
public string pcrMesaID { get; set; }
|
||||
}
|
||||
}
|
230
Fab2ApprovalSystem/ViewModels/PdfViewModel.cs
Normal file
230
Fab2ApprovalSystem/ViewModels/PdfViewModel.cs
Normal file
@ -0,0 +1,230 @@
|
||||
using Fab2ApprovalSystem.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ECNPdf
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int ECNNumber { get; set; }
|
||||
|
||||
[DataType(DataType.Date)]
|
||||
public DateTime IssueDate { get; set; }
|
||||
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? SubmitedDate { get; set; }
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? CloseDate { get; set; }
|
||||
|
||||
public int OriginatorID { get; set; }
|
||||
public string OriginatorName { get; set; }
|
||||
// important!!make sure the id of the control matches the name of the field in the model it is being binded to,
|
||||
// in order to get the selected items from the control
|
||||
|
||||
|
||||
//public List<string> AffectedModules { get; set; }
|
||||
public List<ECNApprovalLog> Approvalog { get; set; }
|
||||
public List<string> Attachments { get; set; }
|
||||
|
||||
public string AffectedModules { get; set; }
|
||||
public string AffectedDepartments { get; set; }
|
||||
//public string Attachments { get; set; }
|
||||
|
||||
public string AffectedAreas { get; set; }
|
||||
public string AffectedTechnologies { get; set; }
|
||||
public string TrainingBy { get; set; }
|
||||
public string AcknowledgementBy { get; set; }
|
||||
|
||||
|
||||
public bool IsECN { get; set; }
|
||||
public bool IsTECN { get; set; }
|
||||
public bool IsEmergencyTECN { get; set; }
|
||||
|
||||
[DataType(DataType.Date)]
|
||||
//[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? ExpirationDate { get; set; }
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? ExtensionDate { get; set; }
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? CancellationDate { get; set; }
|
||||
|
||||
public bool AcknowledgementRequired { get; set; }
|
||||
public bool TrainingRequired { get; set; }
|
||||
public int? AreaID { get; set; }
|
||||
public int? TechnologyID { get; set; }
|
||||
|
||||
public bool PCRBRequired { get; set; }
|
||||
public string PCRBNumber { get; set; }
|
||||
public bool TestProgramChangeRequired { get; set; }
|
||||
public bool MetrologyChangeRequired { get; set; }
|
||||
public bool SPCChangeRequired { get; set; }
|
||||
public bool NewPartFlowRequired { get; set; }
|
||||
public bool SPNChangeRequired { get; set; }
|
||||
public string ImplementationDetails { get; set; }
|
||||
public int ImpactOnEnvironment { get; set; }
|
||||
public string ImpactOnEnvironmentDescription { get; set; }
|
||||
public int ImpactOnCapacity { get; set; }
|
||||
public string ImpactOnCapacityDescription { get; set; }
|
||||
public bool IsMA { get; set; }
|
||||
public bool IsRH { get; set; }
|
||||
public bool IsAU { get; set; }
|
||||
public bool IsIndustrial { get; set; }
|
||||
public int MaterialConsumptionChangeRequired { get; set; }
|
||||
public string MaterialConsumptionChangeDescription { get; set; }
|
||||
public string ReasonForChange { get; set; }
|
||||
public string DescriptionOfChange { get; set; }
|
||||
public bool NotAFlowChange { get; set; }
|
||||
public bool AttachECN_TECNToLots { get; set; }
|
||||
public bool SPNFlowChangeAtSingleStep { get; set; }
|
||||
public bool SPNFlowChangeAtMultipleSteps { get; set; }
|
||||
public byte CurrentStep { get; set; }
|
||||
public string Area { get; set; }
|
||||
public string Technology { get; set; }
|
||||
public DateTime? CancellationApprovalDate { get; set; }
|
||||
public int? ConvertedToNumber { get; set; }
|
||||
public int? ConvertedFromNumber { get; set; }
|
||||
public int WorkFlowNumber { get; set; }
|
||||
|
||||
public bool FIChangeRequired { get; set; }
|
||||
public string NumberOfLotsAffected { get; set; }
|
||||
public string RecipeChange { get; set; }
|
||||
public string AffectedProductFamilies { get; set; }
|
||||
|
||||
public bool IsDocEC { get; set; }
|
||||
|
||||
public ECNPdf()
|
||||
{
|
||||
|
||||
Approvalog = new List<ECNApprovalLog>();
|
||||
Attachments = new List<string>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ECNApprovalLog
|
||||
{
|
||||
public string FullName { get; set; }
|
||||
public string Operation { get; set; }
|
||||
public string SubRole { get; set; }
|
||||
public string OperationTime { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkRequestPdf
|
||||
{
|
||||
public int ID{ get; set; }
|
||||
public int SWRNumber{ get; set; }
|
||||
public bool RecordLockIndicator{ get; set; }
|
||||
public int RecordLockedBy { get; set; }
|
||||
public string RecordLockByName { get; set; }
|
||||
public byte CurrentStep { get; set; }
|
||||
public int Revision{ get; set; }
|
||||
public bool IsCurrentRevision { get; set; }
|
||||
public int OriginatorID{ get; set; }
|
||||
public DateTime? OriginatedDate { get; set; }
|
||||
public DateTime? SubmitedDate { get; set; }
|
||||
public DateTime? CloseDate { get; set; }
|
||||
public int Status{ get; set; }
|
||||
public bool IsITAR{ get; set; }
|
||||
public string Title{ get; set; }
|
||||
public char? LotType{ get; set; }
|
||||
public string PCRBNumber{ get; set; }
|
||||
public int? EngLotStartRequired{ get; set; }
|
||||
public int? LotTypeConversion{ get; set; }
|
||||
public int? QualLot{ get; set; }
|
||||
public string PurposeOfRequest{ get; set; }
|
||||
public DateTime? PlannedLotStartDate{ get; set; }
|
||||
public DateTime? PlannedScheduledCloseDate{ get; set; }
|
||||
public string ChargeDepartment{ get; set; }
|
||||
public string AllocationToUse{ get; set; }
|
||||
public int? PredictedCyleTime{ get; set; }
|
||||
public string ChargesForRawWafers{ get; set; }
|
||||
public string DeptChargedForRawWafers{ get; set; }
|
||||
public string DeptOwnerForRawWafers{ get; set; }
|
||||
public string FabCost{ get; set; }
|
||||
public string DeptChargedForFabCost{ get; set; }
|
||||
public string SignOn{ get; set; }
|
||||
public string Verb1{ get; set; }
|
||||
public DateTime? EstimatedBinCLoseDate { get; set; }
|
||||
public int? StartQty{ get; set; }
|
||||
public int? TotalQty { get; set; }
|
||||
public string Verb2{ get; set; }
|
||||
public string WIPArea{ get; set; }
|
||||
public DateTime? LotStartDate{ get; set; }
|
||||
public string LotNumber { get; set; }
|
||||
public string WIPPartNumber{ get; set; }
|
||||
public string PartDescription { get; set; }
|
||||
public string DefaultEPISiliconPartNumber { get; set; }
|
||||
public string ProcessFlow{ get; set; }
|
||||
public string EmployeeID{ get; set; }
|
||||
public string VerbComment{ get; set; }
|
||||
public int? RecordSiliconLotInSPNTapeTagTotrav { get;set;}
|
||||
public string SiliconLotNoCassette1 { get; set; }
|
||||
public bool SiliconOnHand { get; set; }
|
||||
public bool ReticleOnHand { get; set; }
|
||||
public bool SPNTransferOnHand { get; set; }
|
||||
public bool ProbeCardOnHand { get; set; }
|
||||
public bool ProbeRecipeOnHand { get; set; }
|
||||
public bool ProcessChangeDetailsOnHand { get; set; }
|
||||
|
||||
public string LotStartCheckListComments { get; set; }
|
||||
|
||||
public List<LTHoldStep> LTHoldStep { get; set; }
|
||||
public string AffectedDepartments { get; set; }
|
||||
public string AffectedModules { get; set; }
|
||||
public string OriginatorName { get; set; }
|
||||
public string RevisionComments { get; set; }
|
||||
public List<LTMaterial> LTMaterial { get; set; }
|
||||
|
||||
public WorkRequestPdf()
|
||||
{
|
||||
LTHoldStep = new List<LTHoldStep>();
|
||||
LTMaterial = new List<LTMaterial>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LotTravelerPdf
|
||||
{
|
||||
|
||||
public int SWRNumber { get; set; }
|
||||
public string LotNumber { get; set; }
|
||||
public string Title { get; set; } //
|
||||
public string Status { get; set; } //
|
||||
public string Originator { get; set; } //
|
||||
public string WIPPartNumber { get; set; }
|
||||
public string PartDescription { get; set; }
|
||||
public string BaseFlow { set; get; }
|
||||
public bool IsITAR { set; get; }
|
||||
public DateTime? LastUpdate { get; set; }
|
||||
public string LastUpdatedBy { get; set; }
|
||||
public string PurposeOfRequest { get; set; }
|
||||
public int LotTravCurrentRevision { get; set; }
|
||||
public List<LTLotTravelerHoldSteps> Tasklist { get; set; }
|
||||
|
||||
public LotTravelerPdf()
|
||||
{
|
||||
Tasklist = new List<LTLotTravelerHoldSteps>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
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