//------------------------------------------------------------------------------
// <autogenerated>
//     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
// </autogenerated>
//------------------------------------------------------------------------------

using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
	/// 模块元素表(需要权限控制的按钮)
	/// </summary>
      [Table("ModuleElement")]
    public partial class ModuleElement : Entity
    {
        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;
        }

        /// <summary>
	    /// DOM ID
	    /// </summary>
         [Description("DOM ID")]
        public string DomId { get; set; }
        /// <summary>
	    /// 名称
	    /// </summary>
         [Description("名称")]
        public string Name { get; set; }
        /// <summary>
	    /// 元素附加属性
	    /// </summary>
         [Description("元素附加属性")]
        public string Attr { get; set; }
        /// <summary>
	    /// 元素调用脚本
	    /// </summary>
         [Description("元素调用脚本")]
        public string Script { get; set; }
        /// <summary>
	    /// 元素图标
	    /// </summary>
         [Description("元素图标")]
        public string Icon { get; set; }
        /// <summary>
	    /// 元素样式
	    /// </summary>
         [Description("元素样式")]
        public string Class { get; set; }
        /// <summary>
	    /// 备注
	    /// </summary>
         [Description("备注")]
        public string Remark { get; set; }
        /// <summary>
	    /// 排序字段
	    /// </summary>
         [Description("排序字段")]
        public int Sort { get; set; }
        /// <summary>
	    /// 功能模块Id
	    /// </summary>
         [Description("功能模块Id")]
        public string ModuleId { get; set; }
        /// <summary>
	    /// 分类名称
	    /// </summary>
         [Description("分类名称")]
        public string TypeName { get; set; }
        /// <summary>
	    /// 分类ID
	    /// </summary>
         [Description("分类ID")]
        public string TypeId { get; set; }

    }
}