using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; namespace IoTIntegrationPlatform.Model.Model { /// /// 后台管理-人员表 /// [SugarTable("admin_user")] public class AdminUser { /// /// id /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 唯一码 /// [SugarColumn(ColumnName = "uuid")] public string Uuid { get; set; } /// /// 账号名称 /// [SugarColumn(ColumnName = "account")] public string Account { get; set; } /// /// 密码 /// [SugarColumn(ColumnName = "password")] public string Password { get; set; } /// /// 密码加密key /// [SugarColumn(ColumnName = "secret_key")] public string SecretKey { get; set; } /// /// 真实名称 /// [SugarColumn(ColumnName = "real_name")] public string RealName { get; set; } /// /// 昵称 /// [SugarColumn(ColumnName = "nick_name")] public string NickName { get; set; } /// /// 手机号 /// [SugarColumn(ColumnName = "mobile")] public string Mobile { get; set; } /// /// 是否超级管理员 0:否 1:是 /// [SugarColumn(ColumnName = "is_super")] public bool IsSuper { get; set; } /// /// 账号类型 1:系统用户 2:加盟商 /// [SugarColumn(ColumnName = "account_type")] public int AccountType { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime UpdateTime { get; set; } /// /// 操作人id /// [SugarColumn(ColumnName = "operation_id")] public int OperationId { get; set; } /// /// 操作人名称 /// [SugarColumn(ColumnName = "operation_name")] public string OperationName { get; set; } /// /// 是否有效 0:否 1:是 /// [SugarColumn(ColumnName = "is_valid")] public bool IsValid { get; set; } } }