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,43 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.Models
|
||||
{
|
||||
public class ApprovalModel
|
||||
{
|
||||
public int ApprovalID { get; set; }
|
||||
public int? IssueID { get; set; }
|
||||
public string RoleName { get; set; } // nullable
|
||||
public string SubRole { get; set; }
|
||||
public int UserID { get; set; }
|
||||
public int SubRoleID { get; set; }
|
||||
public int? ItemStatus { get; set; }
|
||||
public int? Step { get; set; }
|
||||
public DateTime NotifyDate { get; set; } // nullable
|
||||
public DateTime AssignedDate { get; set; } // nullable
|
||||
public DateTime RoleAssignedDate { get; set; } // nullable
|
||||
public DateTime CompletedDate { get; set; } // nullable
|
||||
public string Comments { get; set; } // nullable
|
||||
public byte? ApprovalType { get; set; }
|
||||
public Guid? BackToApprovalID { get; set; }
|
||||
public int DocumentTypeID { get; set; }
|
||||
public bool DisplayDeniedDocument { get; set; }
|
||||
public bool Delegated { get; set; }
|
||||
}
|
||||
namespace Fab2ApprovalSystem.Models;
|
||||
|
||||
public class ApprovalModel {
|
||||
|
||||
public int ApprovalID { get; set; }
|
||||
public int? IssueID { get; set; }
|
||||
public string RoleName { get; set; } // nullable
|
||||
public string SubRole { get; set; }
|
||||
public int UserID { get; set; }
|
||||
public int SubRoleID { get; set; }
|
||||
public int? ItemStatus { get; set; }
|
||||
public int? Step { get; set; }
|
||||
public DateTime NotifyDate { get; set; } // nullable
|
||||
public DateTime AssignedDate { get; set; } // nullable
|
||||
public DateTime RoleAssignedDate { get; set; } // nullable
|
||||
public DateTime CompletedDate { get; set; } // nullable
|
||||
public string Comments { get; set; } // nullable
|
||||
public byte? ApprovalType { get; set; }
|
||||
public Guid? BackToApprovalID { get; set; }
|
||||
public int DocumentTypeID { get; set; }
|
||||
public bool DisplayDeniedDocument { get; set; }
|
||||
public bool Delegated { get; set; }
|
||||
|
||||
public class WorkflowSteps
|
||||
{
|
||||
public int WorkflowStepID { get; set; }
|
||||
public int WorkflowID { get; set; }
|
||||
public int WorkflowStepNumber { get; set; }
|
||||
public string WorkFlowStepName { get; set; } // nullable
|
||||
public int RoleID { get; set; }
|
||||
public bool RulesApply { get; set; }
|
||||
public int ApprovalType { get; set; }
|
||||
public bool? AllowReject { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
public class WorkflowSteps {
|
||||
|
||||
public int WorkflowStepID { get; set; }
|
||||
public int WorkflowID { get; set; }
|
||||
public int WorkflowStepNumber { get; set; }
|
||||
public string WorkFlowStepName { get; set; } // nullable
|
||||
public int RoleID { get; set; }
|
||||
public bool RulesApply { get; set; }
|
||||
public int ApprovalType { get; set; }
|
||||
public bool? AllowReject { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user