using SqlSugar; namespace QYZH.InteractiveMagazine.Models.Entity { /// ///后台管理员表 /// [SugarTable("AdminUser")] public partial class AdminUser : BaseEntity { public AdminUser(){ } /// /// Desc:主键 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true,IsIdentity=true)] public new int Id { get; set; } /// /// Desc:用户名 /// Default: /// Nullable:False /// public string UserName {get;set;} /// /// Desc:密码哈希 /// Default: /// Nullable:False /// public string PasswordHash {get;set;} /// /// Desc:管理员类型: SuperAdmin, Editor /// Default:Editor /// Nullable:False /// public string Type {get;set;} /// /// Desc:状态: Active, Inactive /// Default:Active /// Nullable:False /// public string Status {get;set;} } }