AclUsertoken.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace WMS.BZModels.Models.UserCenterManager
  8. {
  9. [Tenant("usercenter")]
  10. [SugarTable("Acl_UserToken")]
  11. public class AclUsertoken : BaseModel
  12. {
  13. /// <summary>
  14. /// 凭证表-编号
  15. /// </summary>
  16. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "凭证表-编号")]
  17. public string Code { get; set; }
  18. /// <summary>
  19. /// 用户编号
  20. /// </summary>
  21. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "用户编号")]
  22. public string UserNo { get; set; }
  23. /// <summary>
  24. /// 用户姓名
  25. /// </summary>
  26. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "用户姓名")]
  27. public string UserName { get; set; }
  28. /// <summary>
  29. /// 登录时间
  30. /// </summary>
  31. [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "登录时间")]
  32. public DateTime BTime { get; set; }
  33. /// <summary>
  34. /// 最后一次操作时间
  35. /// </summary>
  36. [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "最后一次操作时间")]
  37. public DateTime ETime { get; set; }
  38. /// <summary>
  39. /// APP类型
  40. /// </summary>
  41. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "APP类型")]
  42. public int AppTypeNum { get; set; }
  43. /// <summary>
  44. /// 登录IP地址
  45. /// </summary>
  46. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "登录IP地址")]
  47. public string IPAddress { get; set; }
  48. /// <summary>
  49. /// 离线版登录仓库
  50. /// </summary>
  51. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "离线版登录仓库")]
  52. public string WarehouseNo { get; set; }
  53. /// <summary>
  54. /// 区域列表
  55. /// </summary>
  56. [SugarColumn(ColumnDataType = "nvarchar", Length = 1000, IsNullable = true, ColumnDescription = "区域列表")]
  57. public string WareaNoList { get; set; }
  58. /// <summary>
  59. /// 访问设备编号
  60. /// </summary>
  61. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "访问设备编号")]
  62. public string AppDeviceNo { get; set; }
  63. }
  64. }