using Newtonsoft.Json; namespace Dlhis.Basic.Organization.Response; public class GainfoGroupTreeResponse { public long Id { get; set; } public Guid? PCode { get; set; } /// /// 分组code /// public Guid Code { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 是否可编辑 /// public bool Editable { get; set; } /// /// 是否为业务默认分组 /// public bool IsDefault { get; set; } /// /// 是否允许设置下级 /// public bool AbleSetNext => IsDefault; [JsonIgnore] public string TenantId { get; set; } /// /// 下级数据 /// public List Next { get; set; } }