mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 10:08:04 +08:00
修复部分BUG,完成为角色分配菜单的界面
This commit is contained in:
49
OpenAuth.App/ViewModel/ModuleElementVM.cs
Normal file
49
OpenAuth.App/ViewModel/ModuleElementVM.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
namespace OpenAuth.App.ViewModel
|
||||
{
|
||||
/// <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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user