namespace OASystem.Domain.Entities { /// /// 实体基类 /// public class EntityBase { /// /// 编号 /// [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 创建者Id /// [SugarColumn(ColumnDescription = "创建者Id", IsNullable = true)] public string CreateUserId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } = DateTime.Now; /// /// 是否删除 /// [SugarColumn(ColumnDescription = "是否删除")] public bool IsDel { get; set; } /// /// 删除者Id /// [SugarColumn(ColumnDescription = "删除者Id")] public string DeleteUserId { get; set; } = "Default"; /// /// 删除时间 /// [SugarColumn(ColumnDescription = "删除时间")] public string DeleteTime { get; set; } } }