admin 1 жил өмнө
parent
commit
aee4a4e244

+ 1 - 1
src/XF.Domain.Repository/Entity.cs

@@ -92,7 +92,7 @@ public abstract class SoftDeleteEntity : Entity, IHasDeletionTime, ISoftDelete
 /// </summary>
 public abstract class CreationSoftDeleteEntity : CreationEntity, IHasDeletionTime, ISoftDelete
 {
-    [SugarColumn(ColumnDescription = "是否删除")]
+    [SugarColumn(ColumnDescription = "是否删除",DefaultValue ="f")]
     public bool IsDeleted { get; set; }
 
     /// <summary>