mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-01-09 01:44:33 +08:00
完成登录处理
This commit is contained in:
37
OpenAuth.App/ViewModel/LoginUserVM.cs
Normal file
37
OpenAuth.App/ViewModel/LoginUserVM.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
// ***********************************************************************
|
||||
// Assembly : OpenAuth.App
|
||||
// Author : Yubao Li
|
||||
// Created : 12-01-2015
|
||||
//
|
||||
// Last Modified By : Yubao Li
|
||||
// Last Modified On : 12-01-2015
|
||||
// ***********************************************************************
|
||||
// <copyright file="LoginUserVM.cs" company="">
|
||||
// Copyright (c) . All rights reserved.
|
||||
// </copyright>
|
||||
// <summary>登陆视图模型</summary>
|
||||
// ***********************************************************************
|
||||
|
||||
using System.Collections.Generic;
|
||||
using OpenAuth.Domain;
|
||||
|
||||
namespace OpenAuth.App.ViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 登陆用户视图模型
|
||||
/// </summary>
|
||||
public class LoginUserVM
|
||||
{
|
||||
public User User { get; set; }
|
||||
/// <summary>
|
||||
/// 用户可以访问到的模块(包括所属角色与自己的所有模块)
|
||||
/// </summary>
|
||||
public List<Module> Modules { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户可以访问到的模块中的元素
|
||||
/// </summary>
|
||||
public List<ModuleElement> ModuleElements { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user