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:
2024-12-04 11:58:13 -07:00
parent 538b1f817e
commit b1c6903c1c
150 changed files with 29146 additions and 33456 deletions

View File

@ -1,85 +1,77 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Fab2ApprovalSystem.Models
{
namespace Fab2ApprovalSystem.Models;
[Serializable]
public class PartsRequest
{
public int PRNumber { get; set; }
public string Title { get; set; }
[Serializable]
public class PartsRequest {
public DateTime CreateDate { get; set; }
public DateTime? SubmitDate { get; set; }
public DateTime? CloseDate { get; set; }
public int PRNumber { get; set; }
public string Title { get; set; }
public DateTime CreateDate { get; set; }
public DateTime? SubmitDate { get; set; }
public DateTime? CloseDate { get; set; }
public int OriginatorID { get; set; }
public int RequestorID { get; set; }
public int TechLeadID { get; set; }
public string Description { get; set; }
public DateTime? LastUpdateDate { get; set; }
public int CurrentStep { get; set; }
public string Status { get; set; }
public int OriginatorID { get; set; }
public int RequestorID { get; set; }
public int TechLeadID { get; set; }
public string Description { get; set; }
}
public DateTime? LastUpdateDate { get; set; }
[Serializable]
public class PartsRequestAttachment {
public int CurrentStep { get; set; }
public int AttachmentID { set; get; }
public int PRNumber { get; set; }
public string FileName { get; set; }
public int UserID { get; set; }
public string UploadDate { get; set; }
public string Status { get; set; }
}
}
[Serializable]
public class PartsRequestAttachment
{
public int AttachmentID { set; get; }
public int PRNumber { get; set; }
public string FileName { get; set; }
public int UserID { get; set; }
public string UploadDate { get; set; }
}
[Serializable]
public class PartsRequestAttachmentList {
[Serializable]
public class PartsRequestAttachmentList
{
public int AttachmentID { set; get; }
public int PRNumber { get; set; }
public string FileName { get; set; }
public int UserID { get; set; }
public string UploadDate { get; set; }
public int AttachmentID { set; get; }
public int PRNumber { get; set; }
public string FileName { get; set; }
public int UserID { get; set; }
public string UploadDate { get; set; }
public string FullName { get; set; }
public string FullName { get; set; }
}
}
public class PartsRequestList
{
public int PRNumber { get; set; }
public string Title { get; set; }
public DateTime CreateDate { get; set; }
public DateTime SubmitDate { get; set; }
public DateTime CloseDate { get; set; }
public string Originator { get; set; }
public string Requestor { get; set; }
public string TechLead { get; set; }
public string Description { get; set; }
public string Status { get; set; }
public string PendingApprovers { get; set; }
}
public class PartsRequestList {
public class MyPartsRequestList
{
public int PRNumber { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public DateTime CreateDate { get; set; }
public DateTime? SubmitDate { get; set; }
public DateTime? CloseDate { get; set; }
public string Originator { get; set; }
public string Requestor { get; set; }
public string TechLead { get; set; }
public string Status { get; set; }
public string PendingApprovers { get; set; }
public string WorkFlowStepName { get; set; }
}
public int PRNumber { get; set; }
public string Title { get; set; }
public DateTime CreateDate { get; set; }
public DateTime SubmitDate { get; set; }
public DateTime CloseDate { get; set; }
public string Originator { get; set; }
public string Requestor { get; set; }
public string TechLead { get; set; }
public string Description { get; set; }
public string Status { get; set; }
public string PendingApprovers { get; set; }
}
public class MyPartsRequestList {
public int PRNumber { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public DateTime CreateDate { get; set; }
public DateTime? SubmitDate { get; set; }
public DateTime? CloseDate { get; set; }
public string Originator { get; set; }
public string Requestor { get; set; }
public string TechLead { get; set; }
public string Status { get; set; }
public string PendingApprovers { get; set; }
public string WorkFlowStepName { get; set; }
}