SysModule.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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("Sys_Module")]
  11. public class SysModule : 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 PNO { get; set; }
  23. /// <summary>
  24. /// IsStop
  25. /// </summary>
  26. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  27. public int IsStop { get; set; }
  28. /// <summary>
  29. /// 名称
  30. /// </summary>
  31. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "名称")]
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// 排序号
  35. /// </summary>
  36. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "排序号")]
  37. public int SortNum { get; set; }
  38. /// <summary>
  39. /// 图标
  40. /// </summary>
  41. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "图标")]
  42. public string Icon { get; set; }
  43. /// <summary>
  44. /// 是否菜单
  45. /// </summary>
  46. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否菜单")]
  47. public int IsMenu { get; set; }
  48. /// <summary>
  49. /// 是否公共,不属于各个仓库
  50. /// </summary>
  51. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否公共")]
  52. public int IsShared { get; set; }
  53. /// <summary>
  54. /// 是否展开
  55. /// </summary>
  56. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否展开")]
  57. public int AllowExpand { get; set; }
  58. /// <summary>
  59. /// 目标
  60. /// </summary>
  61. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "目标")]
  62. public int Target { get; set; }
  63. /// <summary>
  64. /// 访问地址
  65. /// </summary>
  66. [SugarColumn(ColumnDataType = "nvarchar", Length = 150, IsNullable = true, ColumnDescription = "访问地址")]
  67. public string URLAddr { get; set; }
  68. /// <summary>
  69. /// 设定数据
  70. /// </summary>
  71. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "设定数据")]
  72. public string SetData { get; set; }
  73. }
  74. }