using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace IoTIntegrationPlatform.Model.Model { /// /// 后台管理_菜单 /// [SugarTable("admin_menu")] public class AdminMenu { /// /// id /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 菜单编号 /// [SugarColumn(ColumnName = "menu_code")] public string MenuCode { get; set; } /// /// 菜单名称 /// [SugarColumn(ColumnName = "menu_name")] public string MenuName { get; set; } /// /// 父级菜单编号 /// [SugarColumn(ColumnName = "parent_menu_code")] public string ParentMenuCode { get; set; } /// /// 是否是菜单 /// [SugarColumn(ColumnName = "is_menu")] public bool IsMenu { get; set; } /// /// 权限编码 /// [SugarColumn(ColumnName = "power_code")] public string PowerCode { get; set; } /// /// 菜单路径 /// [SugarColumn(ColumnName = "path")] public string Path { get; set; } /// /// 菜单图标 /// [SugarColumn(ColumnName = "icon")] public string Icon { get; set; } /// /// 菜单序号 /// [SugarColumn(ColumnName = "sort")] public int Sort { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime UpdateTime { get; set; } /// /// 操作人id /// [SugarColumn(ColumnName = "operation_id")] public int OperationId { get; set; } /// /// 操作人名称 /// [SugarColumn(ColumnName = "operation_name")] public string OperationName { get; set; } /// /// 是否有效 0:否 1:是 /// [SugarColumn(ColumnName = "is_valid")] public bool IsValid { get; set; } } }