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
39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
using System;
|
|
|
|
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; }
|
|
|
|
} |