Initial_commit_SecMPS_v2
This commit is contained in:
48
api_sqlsugar/VolPro.Entity/DomainModels/System/UserInfo.cs
Normal file
48
api_sqlsugar/VolPro.Entity/DomainModels/System/UserInfo.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using VolPro.Entity.SystemModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.AttributeManager;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
/// <summary>
|
||||
/// 字段上标记UserAuth属性后在角色自定义数据权限可以选择
|
||||
/// </summary>
|
||||
public class UserInfo
|
||||
{
|
||||
[UserAuthField(Name = "用户ID")]
|
||||
public int User_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多个角色ID
|
||||
/// </summary>
|
||||
public int Role_Id { get; set; }
|
||||
|
||||
public string RoleName { get; set; }
|
||||
|
||||
[UserAuthField(Name ="用户帐号")]
|
||||
public string UserName { get; set; }
|
||||
|
||||
[UserAuthField(Name = "用户姓名")]
|
||||
public string UserTrueName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 岗位id
|
||||
/// </summary>
|
||||
public List<Guid> PostIds { get; set; }
|
||||
|
||||
[UserAuthField(Name = "用户部门")]
|
||||
public List<Guid> DeptIds { get; set; }
|
||||
|
||||
[UserAuthField(Name = "用户角色")]
|
||||
public int[] RoleIds { get; set; }
|
||||
|
||||
public string Token { get; set; }
|
||||
|
||||
public int Enable { get; set; }
|
||||
public string TenancyValue { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user