修改标准表基类定义

This commit is contained in:
falcon 2022-04-29 15:28:22 +08:00
parent d90af87edd
commit 11df33a495

View File

@ -17,23 +17,23 @@ namespace Falcon.SugarApi.DatabaseDefinitions
/// <summary> /// <summary>
/// 创建人 /// 创建人
/// </summary> /// </summary>
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = false, ColumnDescription = "首次创建人")] [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "首次创建人")]
public string CreateBy { get; set; } public string? CreateBy { get; set; }
/// <summary> /// <summary>
/// 创建时间 /// 创建时间
/// </summary> /// </summary>
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = false, ColumnDescription = "首次创建时间")] [SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "首次创建时间")]
public DateTime CreateTime { get; set; } = DateTime.Now; public DateTime? CreateTime { get; set; } = DateTime.Now;
/// <summary> /// <summary>
/// 更新人 /// 更新人
/// </summary> /// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "最近更新人")] [SugarColumn(IsNullable = true, ColumnDescription = "最近更新人")]
public string UpdateBy { get; set; } public string? UpdateBy { get; set; }
/// <summary> /// <summary>
/// 更新时间 /// 更新时间
/// </summary> /// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "最新更新时间")] [SugarColumn(IsNullable = true, ColumnDescription = "最新更新时间")]
public DateTime UpdateTime { get; set; } = DateTime.Now; public DateTime? UpdateTime { get; set; } = DateTime.Now;
/// <summary> /// <summary>
/// 记录状态 /// 记录状态
/// </summary> /// </summary>