调整数据库菜单表结构,可以动态加载按钮,注意更新数据库结构并重新初始化数据库

This commit is contained in:
yubaolee
2015-12-05 16:07:53 +08:00
parent 135723f563
commit af5e04d62f
16 changed files with 805 additions and 1090 deletions

View File

@@ -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;
}