52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
|
|
using SqlSugar;
|
||
|
|
|
||
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
||
|
|
{
|
||
|
|
///<summary>
|
||
|
|
///后台管理员表
|
||
|
|
///</summary>
|
||
|
|
[SugarTable("AdminUser")]
|
||
|
|
public partial class AdminUser : BaseEntity
|
||
|
|
{
|
||
|
|
public AdminUser(){
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:主键
|
||
|
|
/// Default:
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
||
|
|
public new int Id { get; set; }
|
||
|
|
|
||
|
|
/// <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>
|
||
|
|
public string Type {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:状态: Active, Inactive
|
||
|
|
/// Default:Active
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Status {get;set;}
|
||
|
|
}
|
||
|
|
}
|