Fab2ApprovalSystem
App_Start
Content
Controllers
DMO
EmailTemplates
FTPBatch
Lib
Misc
Models
PdfGenerator
Properties
Scripts
Utilities
ViewModels
ApproversListViewModel.cs
ChangeControlViewModel.cs
CloseToQDBOptionViewModel.cs
ECNTrainingAssignment.cs
ECNTrainingAssignments.cs
IssueWithExistingLotsViewModel.cs
LTMaterial.cs
LotDispositionLotSummaryViewModel.cs
LotDispositionViewModel.cs
LotStatusOptionViewModel.cs
OOOViewModel.cs
OpenActionItemViewModel.cs
PdfViewModel.cs
ReportsViewModels.cs
Views
fonts
Fab2ApprovalSystem.csproj
Global.asax
Global.asax.cs
Project_Readme.html
README.md
Startup.cs
Test.html
Web.Debug.config
Web.Release.config
Web.config
favicon.ico
package.json
Kendo
SQL
references
.editorconfig
.gitignore
Fab2ApprovalSystem-Development.yml
Fab2ApprovalSystem.sln
Fab2ApprovalSystem.yml
README.md
71 lines
2.5 KiB
C#
71 lines
2.5 KiB
C#
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>();
|
|
}
|
|
|
|
}
|
|
}
|