OpenAuth.Net/OpenAuth.Repository/Domain/Org.cs

104 lines
3.1 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;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
2017-12-08 23:31:52 +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("Org")]
2017-12-08 23:31:52 +08:00
public partial class Org : TreeEntity
2017-10-11 16:19:34 +08:00
{
public Org()
{
this.CascadeId= string.Empty;
this.Name= string.Empty;
this.HotKey= string.Empty;
this.ParentName= string.Empty;
this.IconName= string.Empty;
this.Status= 0;
this.BizCode= string.Empty;
this.CustomCode= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateId= 0;
this.SortNo= 0;
this.ParentId= null;
this.TypeName= string.Empty;
this.TypeId= string.Empty;
2017-10-11 16:19:34 +08:00
}
/// <summary>
/// 热键
/// </summary>
[Description("热键")]
2017-10-11 16:19:34 +08:00
public string HotKey { get; set; }
2017-12-08 23:31:52 +08:00
2017-10-11 16:19:34 +08:00
/// <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>
/// 当前状态
/// </summary>
[Description("当前状态")]
2017-10-11 16:19:34 +08:00
public int Status { get; set; }
/// <summary>
/// 业务对照码
/// </summary>
[Description("业务对照码")]
2017-10-11 16:19:34 +08:00
public string BizCode { get; set; }
/// <summary>
/// 自定义扩展码
/// </summary>
[Description("自定义扩展码")]
2017-10-11 16:19:34 +08:00
public string CustomCode { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
2017-10-11 16:19:34 +08:00
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
2017-10-11 16:19:34 +08:00
public int CreateId { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
2017-10-11 16:19:34 +08:00
public int SortNo { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
2017-11-29 20:49:14 +08:00
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
2017-11-29 20:49:14 +08:00
public string TypeId { get; set; }
2017-10-11 16:19:34 +08:00
}
}