//------------------------------------------------------------------------------
//
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
//
//------------------------------------------------------------------------------
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
///
/// 模块元素表(需要权限控制的按钮)
///
[Table("ModuleElement")]
public partial class ModuleElement : StringEntity
{
public ModuleElement()
{
this.DomId= string.Empty;
this.Name= string.Empty;
this.Attr= string.Empty;
this.Script= string.Empty;
this.Icon= string.Empty;
this.Class= string.Empty;
this.Remark= string.Empty;
this.Sort= 0;
this.ModuleId= string.Empty;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
}
///
/// DOM ID
///
[Description("DOM ID")]
public string DomId { get; set; }
///
/// 名称
///
[Description("名称")]
public string Name { get; set; }
///
/// 元素附加属性
///
[Description("元素附加属性")]
public string Attr { get; set; }
///
/// 元素调用脚本
///
[Description("元素调用脚本")]
public string Script { get; set; }
///
/// 元素图标
///
[Description("元素图标")]
public string Icon { get; set; }
///
/// 元素样式
///
[Description("元素样式")]
public string Class { get; set; }
///
/// 备注
///
[Description("备注")]
public string Remark { get; set; }
///
/// 排序字段
///
[Description("排序字段")]
public int Sort { get; set; }
///
/// 功能模块Id
///
[Description("功能模块Id")]
public string ModuleId { get; set; }
///
/// 分类名称
///
[Description("分类名称")]
public string TypeName { get; set; }
///
/// 分类ID
///
[Description("分类ID")]
public string TypeId { get; set; }
}
}