OpenAuth.Net/OpenAuth.Repository/Domain/Module.cs

94 lines
2.7 KiB
C#
Raw Normal View History

2017-10-11 16:19:34 +08:00
//------------------------------------------------------------------------------
// <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;
2017-12-11 17:49:59 +08:00
using OpenAuth.Repository.Core;
2017-10-11 16:19:34 +08:00
2017-11-29 20:49:14 +08:00
namespace OpenAuth.Repository.Domain
2017-10-11 16:19:34 +08:00
{
/// <summary>
/// 功能模块表
/// </summary>
[Table("Module")]
2017-12-11 17:49:59 +08:00
public partial class Module : TreeEntity
2017-10-11 16:19:34 +08:00
{
public Module()
{
this.CascadeId= string.Empty;
this.Name= string.Empty;
2017-10-11 16:19:34 +08:00
this.Url= string.Empty;
this.HotKey= string.Empty;
this.IconName= string.Empty;
this.Status= 0;
this.ParentName= string.Empty;
2017-10-11 16:19:34 +08:00
this.Vector= string.Empty;
this.SortNo= 0;
this.ParentId= string.Empty;
this.Code= string.Empty;
2017-10-11 16:19:34 +08:00
}
2017-10-11 16:19:34 +08:00
/// <summary>
/// 主页面URL
/// </summary>
[Description("主页面URL")]
2017-10-11 16:19:34 +08:00
public string Url { get; set; }
/// <summary>
/// 热键
/// </summary>
[Description("热键")]
2017-10-11 16:19:34 +08:00
public string HotKey { get; set; }
/// <summary>
/// 是否叶子节点
/// </summary>
[Description("是否叶子节点")]
2017-10-11 16:19:34 +08:00
public bool IsLeaf { get; set; }
/// <summary>
/// 是否自动展开
/// </summary>
[Description("是否自动展开")]
2017-10-11 16:19:34 +08:00
public bool IsAutoExpand { get; set; }
/// <summary>
/// 节点图标文件名称
/// </summary>
[Description("节点图标文件名称")]
2017-10-11 16:19:34 +08:00
public string IconName { get; set; }
/// <summary>
/// 当前状态0正常-1隐藏不在导航列表中显示
/// </summary>
[Description("当前状态")]
2017-10-11 16:19:34 +08:00
public int Status { get; set; }
2017-10-11 16:19:34 +08:00
/// <summary>
/// 矢量图标
/// </summary>
[Description("矢量图标")]
2017-10-11 16:19:34 +08:00
public string Vector { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
2017-10-11 16:19:34 +08:00
public int SortNo { get; set; }
/// <summary>
/// 模块标识
/// </summary>
[Description("模块标识")]
public string Code { get; set; }
/// <summary>
/// 是否系统模块
/// </summary>
[Description("是否系统模块")]
public bool IsSys { get; set; }
2017-10-11 16:19:34 +08:00
}
}