using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WMS.BZModels.Models.UserCenterManager { [Tenant("usercenter")] [SugarTable("Sys_Module")] public class SysModule : BaseModel { /// /// 模块表-模块编号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "模块表-模块编号")] public string Code { get; set; } /// /// 模块父编号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "模块父编号")] public string PNO { get; set; } /// /// IsStop /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int IsStop { get; set; } /// /// 名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "名称")] public string Name { get; set; } /// /// 排序号 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "排序号")] public int SortNum { get; set; } /// /// 图标 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "图标")] public string Icon { get; set; } /// /// 是否菜单 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否菜单")] public int IsMenu { get; set; } /// /// 是否公共,不属于各个仓库 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否公共")] public int IsShared { get; set; } /// /// 是否展开 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否展开")] public int AllowExpand { get; set; } /// /// 目标 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "目标")] public int Target { get; set; } /// /// 访问地址 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 150, IsNullable = true, ColumnDescription = "访问地址")] public string URLAddr { get; set; } /// /// 设定数据 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "设定数据")] public string SetData { get; set; } } }