12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- namespace OASystem.Domain.Entities
- {
-
-
-
- public class EntityBase
- {
-
-
-
- [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsNullable = false)]
- public int Id { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "创建者Id", IsNullable = true,ColumnDataType ="int")]
- public int CreateUserId { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "创建时间", IsNullable = true,ColumnDataType = "DateTime")]
- public DateTime CreateTime { get; set; } = DateTime.Now;
-
-
-
- [SugarColumn(ColumnDescription = "删除者Id", IsNullable = true, ColumnDataType = "int")]
- public int? DeleteUserId { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "删除时间",IsNullable = true,ColumnDataType = "varchar(30)")]
- public string DeleteTime { get; set; }
-
-
-
- [SugarColumn(IsNullable =true,ColumnDataType ="varchar(500)")]
- public string Remark { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "是否删除", IsNullable = true, ColumnDataType = "int")]
- public int IsDel { get; set; }
- }
- }
|