fix AbleSetNext值映射

This commit is contained in:
2024-03-06 19:30:47 +08:00
parent 9f771bc865
commit 64fbe4737d

View File

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