fix 优化分组

This commit is contained in:
2024-03-05 20:38:00 +08:00
parent eada9b6af9
commit 8157f0a01b
8 changed files with 50 additions and 46 deletions

View File

@@ -1,5 +1,6 @@
using Dlhis.Entity.Device.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
using Microsoft.AspNetCore.Server.IISIntegration;
using Newtonsoft.Json;
namespace Dlhis.Basic.Device.Response;
@@ -50,6 +51,15 @@ public class DeviceGroupTreeResponse
}
}
public bool Editable { get; set; }
public bool IsDefault { get; set; }
/// <summary>
/// 是否允许设置下级
/// </summary>
public bool AbleSetNext => IsDefault;
[JsonIgnore]
public string TenantId { get; set; }