2016-01-05 17:14:10 +08:00
|
|
|
|
namespace OpenAuth.App.ViewModel
|
2015-12-06 23:40:34 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ModuleElementVM
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DOM ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public string DomId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组织名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
//模块ID
|
|
|
|
|
public int ModuleId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属模块名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModuleName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 授权状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Accessed { get; set; }
|
|
|
|
|
|
|
|
|
|
public ModuleElementVM()
|
|
|
|
|
{
|
|
|
|
|
this.Id = 0;
|
|
|
|
|
this.DomId = string.Empty;
|
|
|
|
|
this.Name = string.Empty;
|
|
|
|
|
this.ModuleId = 0;
|
|
|
|
|
this.ModuleName = string.Empty;
|
|
|
|
|
this.Accessed = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|