Mike Phares b1c6903c1c 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
2024-12-04 11:58:13 -07:00

77 lines
2.2 KiB
C#

using System;
namespace Fab2ApprovalSystem.Models;
[Serializable]
public class PartsRequest {
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; }
}
[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 {
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 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 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; }
}