抽象实体基类

This commit is contained in:
chenchun
2022-04-08 18:23:37 +08:00
parent 4472e4aa6f
commit 5b6ab486d7
5 changed files with 64 additions and 13 deletions

View File

@@ -8,14 +8,8 @@ namespace Yi.Framework.Model.Models
/// 用户表
///</summary>
[SugarTable("User")]
public partial class UserEntity
public partial class UserEntity:BaseModelEntity
{
public UserEntity()
{
this.Id = Guid.NewGuid();
this.IsDeleted=false;
this.CreateTime = DateTime.Now;
}
/// <summary>
/// 1
///</summary>