mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
调整数据库菜单表结构,可以动态加载按钮,注意更新数据库结构并重新初始化数据库
This commit is contained in:
@@ -29,10 +29,10 @@ namespace OpenAuth.Domain
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织类型
|
||||
/// 元素的类型(如:button/a)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public int Type { get; set; }
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 功能模块Id
|
||||
@@ -40,6 +40,30 @@ namespace OpenAuth.Domain
|
||||
/// <returns></returns>
|
||||
public int ModuleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 元素附加属性
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Attr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 元素调用脚本
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Script { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 元素图标
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Icon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 元素样式
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Class { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
@@ -52,9 +76,13 @@ namespace OpenAuth.Domain
|
||||
this.Id= 0;
|
||||
this.DomId= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.Type= 0;
|
||||
this.Type = string.Empty;
|
||||
this.ModuleId= 0;
|
||||
this.Remark= string.Empty;
|
||||
this.Attr= string.Empty;
|
||||
this.Script= string.Empty;
|
||||
this.Icon= string.Empty;
|
||||
this.Class= string.Empty;
|
||||
this.Remark= string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user