diff --git a/Falcon.SugarApi/DatabaseDefinitions/SugarTableBase.cs b/Falcon.SugarApi/DatabaseDefinitions/SugarTableBase.cs
index 6eabec9..49b9ad8 100644
--- a/Falcon.SugarApi/DatabaseDefinitions/SugarTableBase.cs
+++ b/Falcon.SugarApi/DatabaseDefinitions/SugarTableBase.cs
@@ -17,23 +17,23 @@ namespace Falcon.SugarApi.DatabaseDefinitions
///
/// 创建人
///
- [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = false, ColumnDescription = "首次创建人")]
- public string CreateBy { get; set; }
+ [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "首次创建人")]
+ public string? CreateBy { get; set; }
///
/// 创建时间
///
- [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = false, ColumnDescription = "首次创建时间")]
- public DateTime CreateTime { get; set; } = DateTime.Now;
+ [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "首次创建时间")]
+ public DateTime? CreateTime { get; set; } = DateTime.Now;
///
/// 更新人
///
- [SugarColumn(IsNullable = false, ColumnDescription = "最近更新人")]
- public string UpdateBy { get; set; }
+ [SugarColumn(IsNullable = true, ColumnDescription = "最近更新人")]
+ public string? UpdateBy { get; set; }
///
/// 更新时间
///
- [SugarColumn(IsNullable = false, ColumnDescription = "最新更新时间")]
- public DateTime UpdateTime { get; set; } = DateTime.Now;
+ [SugarColumn(IsNullable = true, ColumnDescription = "最新更新时间")]
+ public DateTime? UpdateTime { get; set; } = DateTime.Now;
///
/// 记录状态
///