Sfoglia il codice sorgente

!1187 update Admin.NET/Admin.NET.Core/Entity/EntityBase.cs.
Merge pull request !1187 from LLL/N/A

zuohuaijun 1 anno fa
parent
commit
f31f19d402
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Admin.NET/Admin.NET.Core/Entity/EntityBase.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/Entity/EntityBase.cs

@@ -27,7 +27,7 @@ public abstract class EntityBase : EntityBaseId, IDeletedFilter
     /// <summary>
     /// 创建时间
     /// </summary>
-    [SugarColumn(ColumnDescription = "创建时间", IsOnlyIgnoreUpdate = true, InsertServerTime = true)]
+    [SugarColumn(ColumnDescription = "创建时间", IsNullable = true, IsOnlyIgnoreUpdate = true, InsertServerTime = true)]
     public virtual DateTime CreateTime { get; set; }
 
     /// <summary>