2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///后台管理员表
|
|
|
|
|
///</summary>
|
2026-07-08 10:37:03 +08:00
|
|
|
[SugarTable("System_AdminUser")]
|
2026-06-02 14:10:43 +08:00
|
|
|
public partial class AdminUser : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
|
|
|
|
public AdminUser(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户名
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserName {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:密码哈希
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PasswordHash {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:管理员类型: SuperAdmin, Editor
|
|
|
|
|
/// Default:Editor
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public AdminUserTypeEnum Type {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|