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
42 lines
793 B
C#
42 lines
793 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Fab2ApprovalSystem.Models;
|
|
|
|
public class WorkFlow {
|
|
|
|
}
|
|
|
|
public class Role {
|
|
|
|
public int RoleID { get; set; }
|
|
public string RoleName { get; set; }
|
|
public List<SubRole> SubRoles { get; set; }
|
|
public Role() => SubRoles = new List<SubRole>();
|
|
|
|
}
|
|
|
|
public class WorkFlowSteps {
|
|
}
|
|
|
|
public class SubRole {
|
|
|
|
public int SubRoleID { get; set; }
|
|
public string SubRoleCategoryItem { get; set; }
|
|
public int RoleID { get; set; }
|
|
public bool Inactive { get; set; }
|
|
|
|
}
|
|
|
|
public class UserSubRole {
|
|
|
|
}
|
|
|
|
public class ParentChildModel {
|
|
|
|
public int id { get; set; }
|
|
public int parentid { get; set; }
|
|
public string text { get; set; }
|
|
public string value { get; set; }
|
|
public List<ParentChildModel> Children = new();
|
|
|
|
} |