diff --git a/Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs b/Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs
index 84c1bbf1..809c8727 100644
--- a/Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs
+++ b/Src/Dlhis.Entity/Basic/Entity/GainfoGroupEntity.cs
@@ -36,14 +36,14 @@ public class GainfoGroupEntity : SugarBaseEntity, ITenantId
///
/// 是否默认分组
///
- [SugarColumn(ColumnDescription = "是否默认分组", ColumnDataType = "bit")]
- public bool IsDefault { get; set; }
+ [SugarColumn(ColumnDescription = "是否默认分组", ColumnDataType = "bit", DefaultValue = "1")]
+ public bool IsDefault { get; set; } = true;
///
/// 是否可编辑
///
- [SugarColumn(ColumnDescription = "是否可编辑", ColumnDataType = "bit")]
- public bool Editable { get; set; }
+ [SugarColumn(ColumnDescription = "是否可编辑", ColumnDataType = "bit", DefaultValue = "1")]
+ public bool Editable { get; set; } = true;
public string TenantId { get; set; }
diff --git a/Src/Dlhis.Entity/Device/Entities/DeviceGroupEntity.cs b/Src/Dlhis.Entity/Device/Entities/DeviceGroupEntity.cs
index a56c8c97..c37a5228 100644
--- a/Src/Dlhis.Entity/Device/Entities/DeviceGroupEntity.cs
+++ b/Src/Dlhis.Entity/Device/Entities/DeviceGroupEntity.cs
@@ -41,13 +41,13 @@ public class DeviceGroupEntity : SugarBaseEntity, ITenantId, ISoftDeleted
/// 是否可编辑
///
[SugarColumn(ColumnDataType = "bit", DefaultValue = "1", ColumnDescription = "是否可编辑")]
- public bool Editable { get; set; }
+ public bool Editable { get; set; } = = true;
///
/// 可设置下级
///
[SugarColumn(ColumnDataType = "bit", DefaultValue = "1")]
- public bool AbleSetNext { get; set; }
+ public bool AbleSetNext { get; set; } = true;
///
/// 备注