using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace HighWayIot.Repository.domain { /// /// 用户信息 /// [SugarTable("sys_user")] public class SysUserEntity { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 备 注:用户名 /// 默认值: /// [SugarColumn(ColumnName = "user_name")] public string UserName { get; set; } = null; /// /// 备 注:用户角色 /// 默认值: /// [SugarColumn(ColumnName = "user_role")] public string UserRole { get; set; } = null; /// /// 备 注:密码 /// 默认值: /// [SugarColumn(ColumnName = "password")] public string Password { get; set; } = null; /// /// 备 注:上次登录时间 /// 默认值: /// [SugarColumn(ColumnName = "last_login_time")] public DateTime? LastLoginTime { get; set; } /// /// 备 注:是否已删除(软删除) /// 默认值: /// [SugarColumn(ColumnName = "is_deleted")] public bool? IsDeleted { get; set; } = false; } }