using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; namespace WIDESEAWCS_Model.Models { /// <summary> /// 用户信æ¯è¡¨ /// </summary> //[SugarTable("SysUserInfo")] [SugarTable("Sys_User", "用户表")] //('æ•°æ®åº“表å','æ•°æ®åº“表备注') public class Sys_User : BaseEntity { /// <summary> /// 用户ID /// </summary> [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "用户ID")] public int User_Id { get; set; } /// <summary> ///å¸å· /// </summary> [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "å¸å·")] public string UserName { get; set; } /// <summary> /// 角色ID /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "角色ID")] public int Role_Id { get; set; } /// <summary> /// 角色åç§° /// </summary> [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "角色åç§°")] public string RoleName { get; set; } /// <summary> /// ç”µè¯ /// </summary> [SugarColumn(Length = 11, IsNullable = true, ColumnDescription = "电è¯")] public string PhoneNo { get; set; } /// <summary> /// 备注 /// </summary> [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "备注")] public string Remark { get; set; } /// <summary> /// 密ç /// </summary> [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "密ç ")] public string UserPwd { get; set; } /// <summary> /// 真实姓å /// </summary> [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "真实姓å")] public string UserTrueName { get; set; } /// <summary> /// 部门 /// </summary> [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "部门")] public string DeptName { get; set; } /// <summary> /// 部门ID /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "部门ID")] public int? Dept_Id { get; set; } /// <summary> /// 邮箱 /// </summary> [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "邮箱")] public string Email { get; set; } /// <summary> /// 是å¦å¯ç”¨ /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "是å¦å¯ç”¨")] public byte Enable { get; set; } /// <summary> /// 性别 /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "性别")] public int? Gender { get; set; } /// <summary> /// å¤´åƒ /// </summary> [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "头åƒ")] public string HeadImageUrl { get; set; } /// <summary> /// 最åŽå¯†ç 修改时间 /// </summary> [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "最åŽå¯†ç 修改时间")] public DateTime? LastModifyPwdDate { get; set; } /// <summary> /// åœ°å€ /// </summary> [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "地å€")] public string Address { get; set; } /// <summary> /// å®¡æ ¸æ—¶é—´ /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "å®¡æ ¸æ—¶é—´")] public DateTime? AuditDate { get; set; } /// <summary> /// å®¡æ ¸çŠ¶æ€ /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "å®¡æ ¸çŠ¶æ€")] public int? AuditStatus { get; set; } /// <summary> /// å®¡æ ¸äºº /// </summary> [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "å®¡æ ¸äºº")] public string Auditor { get; set; } /// <summary> /// 令牌 /// </summary> [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "令牌")] public string Token { get; set; } /// <summary> /// 租户ID /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "租户ID",DefaultValue = "0")] public long TenantId { get; set; } } }