mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
49 lines
1.1 KiB
C#
49 lines
1.1 KiB
C#
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;
|
|
}
|
|
}
|
|
} |