admin 1 年之前
父节点
当前提交
aee4a4e244
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>