|
|
|
|
using Admin.Core.Model.Sys;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户权限
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class UserPermission
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public SysUser SysUser { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> Roles { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> Perms { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|