using SqlSugar;
using QYZH.InteractiveMagazine.Models.Enum;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///后台管理员表
    ///</summary>
    [SugarTable("AdminUser")]
    public partial class AdminUser : SqlSugarBaseEntity
    {
           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>           
           public AdminUserTypeEnum Type {get;set;}

    }
}
