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