fix 调整设备权限配置
This commit is contained in:
@@ -23,7 +23,7 @@ public class BalancesController : ControllerBase
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取消费记录
|
||||
/// 获取记录分页
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
29
Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs
Normal file
29
Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 档案组
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoGroup", TableDescription = "档案组")]
|
||||
public class GainfoGroupEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分组code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 档案人员组关系
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoGroupRelationship", TableDescription = "档案人员组关系")]
|
||||
public class GainfoGroupRelationshipEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// </summary>
|
||||
public Guid GroupCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员档案号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员档案号")]
|
||||
public string UserNo { get; set; }
|
||||
}
|
||||
@@ -13,10 +13,17 @@ namespace Dlhis.Entity.Sys.Entities;
|
||||
public class DevicePermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
||||
{
|
||||
/// <summary>
|
||||
/// 人员档案
|
||||
/// 分配权限类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员档案")]
|
||||
public string UserNo { get; set; }
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "分配权限类型", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public AssignTypeEnumType AssignType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分配值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分配值")]
|
||||
public string AssignValue { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备权限类型
|
||||
|
||||
@@ -16,7 +16,7 @@ public class MenuPermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
||||
/// 权限分配类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "权限分配类型", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public MenuAssignmentTypeEnumType UniqueType { get; set; }
|
||||
public AssignTypeEnumType UniqueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型值
|
||||
|
||||
@@ -5,8 +5,8 @@ namespace Dlhis.Entity.Sys.Enums;
|
||||
/// <summary>
|
||||
/// 权限类型
|
||||
/// </summary>
|
||||
[Description("权限分配类型")]
|
||||
public enum MenuAssignmentTypeEnumType
|
||||
[Description("分配类型")]
|
||||
public enum AssignTypeEnumType
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户
|
||||
@@ -30,5 +30,11 @@ public enum MenuAssignmentTypeEnumType
|
||||
/// 部门
|
||||
/// </summary>
|
||||
[Description("部门")]
|
||||
Department = 4
|
||||
Department = 4,
|
||||
|
||||
/// <summary>
|
||||
/// 租户/基地
|
||||
/// </summary>
|
||||
[Description("租户/基地")]
|
||||
Tenant = 5,
|
||||
}
|
||||
Reference in New Issue
Block a user