SysUser.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using SqlSugar;
  2. using System;
  3. using WS.Orm;
  4. namespace QM.AuthServer.Models.Users
  5. {
  6. ///<summary>
  7. ///用户信息表
  8. ///</summary>
  9. [SugarTable("t_sys_user")]
  10. public partial class SysUser
  11. {
  12. /// <summary>
  13. /// 用户ID
  14. /// </summary>
  15. [SugarColumn(IsPrimaryKey = true, ColumnName = "id")]
  16. public string uid { get; set; }
  17. /// <summary>
  18. /// 用户名
  19. /// </summary>
  20. public string name { get; set; }
  21. /// <summary>
  22. /// 电话号码
  23. /// </summary>
  24. public string mobile { get; set; }
  25. /// <summary>
  26. /// 登录密码
  27. /// </summary>
  28. public string pwd { get; set; }
  29. /// <summary>
  30. /// 状态(0:禁用 1:正常)
  31. /// </summary>
  32. public EnumState state { get; set; } = EnumState.Enable;
  33. /// <summary>
  34. /// 创建用户
  35. /// </summary>
  36. public string cuser { get; set; }
  37. /// <summary>
  38. /// 创建时间
  39. /// </summary>
  40. public DateTime ctime { get; set; } = DateTime.Now;
  41. /// <summary>
  42. /// 删除标识(0正常 1删除)
  43. /// </summary>
  44. public EnumDelete is_delete { get; set; } = EnumDelete.Normal;
  45. /// <summary>
  46. /// 删除用户
  47. /// </summary>
  48. public string duser { get; set; }
  49. /// <summary>
  50. /// 删除时间
  51. /// </summary>
  52. public DateTime? dtime { get; set; }
  53. /// <summary>
  54. /// 说明
  55. /// </summary>
  56. public string note { get; set; }
  57. /// <summary>
  58. /// 头像
  59. /// </summary>
  60. public string img { get; set; } = "/images/user2.svg";
  61. /// <summary>
  62. /// 部门编码
  63. /// </summary>
  64. public string bid { get; set; }
  65. }
  66. }