admin 1 anno fa
parent
commit
aee4a4e244
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/XF.Domain.Repository/Entity.cs

+ 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>