结构调整
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace dy.net.model.entity
|
||||
{
|
||||
[SqlSugar.SugarTable(TableName = "login_user_info")]
|
||||
public class AdminUserInfo
|
||||
{
|
||||
public string UserName { get; set;}
|
||||
public string Password { get; set; }
|
||||
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(IsNullable = true)]
|
||||
public DateTime UpdateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原密码,不存在数据库
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(IsIgnore =true)]
|
||||
public string? OldPwd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(IsNullable = true)]
|
||||
public string Avatar { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user