Эх сурвалжийг харах

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

zuohuaijun 1 жил өмнө
parent
commit
f31f19d402

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