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,70 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.ViewModels
|
||||
{
|
||||
public class ChangeControlViewModel
|
||||
{
|
||||
namespace Fab2ApprovalSystem.ViewModels;
|
||||
|
||||
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; }
|
||||
public class ChangeControlViewModel {
|
||||
|
||||
[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; }
|
||||
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; }
|
||||
|
||||
// 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; }
|
||||
[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; }
|
||||
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>();
|
||||
|
||||
//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>();
|
||||
}
|
||||
|
||||
//ToolTypeIDs = new List<int>();
|
||||
//PartNumberIDs = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user