using System.Collections.Generic; using Neo.Afx.Security; namespace Neo.Afx.ViewModels { /// /// Base console viewModel /// public class ConsoleViewModelBase { /// /// The name of the controller to be used for workflow actions. Usually Workflows.FriendlyName /// public string ControllerName { get; set; } /// /// The logged in user's id /// public long UserID { get; set; } /// /// The logged in user's profile /// public UserProfile Profile { get; set; } /// /// The logged in user's roles /// public IEnumerable UserRoles { get; set; } /// /// Indicates whether a user is an administrator /// public bool UserIsAdmin { get; set; } /// /// List of all checklist results as sourced from Form.ChecklistResults /// public object FormChecklistResults { get; set; } /// /// A list of LookupLists /// public object Lookups { get; set; } /// /// A list of data /// public IEnumerable DataList { get; set; } /// /// Controller's default model, to be used with overloads /// public object DefaultModel { get; set; } /// /// Gets or sets the page number. /// /// /// The page number. /// public int? PageNumber { get; set; } /// /// Gets or sets the data list count. /// /// /// The data list count. /// public int DataListCount { get; set; } } }