修改标准表基类定义

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>
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = false, ColumnDescription = "首次创建人")]
public string CreateBy { get; set; }
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "首次创建人")]
public string? CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[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;
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "最近更新人")]
public string UpdateBy { get; set; }
[SugarColumn(IsNullable = true, ColumnDescription = "最近更新人")]
public string? UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "最新更新时间")]
public DateTime UpdateTime { get; set; } = DateTime.Now;
[SugarColumn(IsNullable = true, ColumnDescription = "最新更新时间")]
public DateTime? UpdateTime { get; set; } = DateTime.Now;
/// <summary>
/// 记录状态
/// </summary>