fix issue #I80UEX 完善人员可以选择直接上级和部门负责人

This commit is contained in:
wintel
2023-12-23 15:42:50 +08:00
parent c4b1f2d3c6
commit 51155a7790
11 changed files with 398 additions and 394 deletions

View File

@@ -1,9 +1,11 @@
using System.Collections.Generic;
using Infrastructure;
using OpenAuth.Repository.Domain;
using SqlSugar;
namespace OpenAuth.App.Response
{
[SugarTable("Module")]
public class ModuleView
{
/// <summary>
@@ -52,10 +54,7 @@ namespace OpenAuth.App.Response
/// 当前状态0正常-1隐藏不在导航列表中显示
/// </summary>
public int Status { get; set; }
public bool Checked { get; set; }
/// <summary>
/// 排序号
/// </summary>
@@ -68,6 +67,7 @@ namespace OpenAuth.App.Response
/// <summary>
/// 模块中的元素
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(ModuleElement.ModuleId),nameof(Id))]
public List<ModuleElement> Elements { get; set; }
public static implicit operator ModuleView(Module module)