mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
新增读取文档帮助
This commit is contained in:
@ -7,16 +7,16 @@ namespace FreeSql.Site.Entity
|
||||
public class BaseEntity
|
||||
{
|
||||
[Column(IsIdentity = true, IsPrimary = true)]
|
||||
public int ID { get; set; }
|
||||
public int ID { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
public int Status { get; set; } = 1;
|
||||
|
||||
public DateTime? CreateDt { get; set; }
|
||||
public DateTime? CreateDt { get; set; } = DateTime.Now;
|
||||
|
||||
public string CreateBy { get; set; }
|
||||
public string CreateBy { get; set; } = "admin";
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user