//------------------------------------------------------------------------------
//
// 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;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
using SqlSugar;
namespace OpenAuth.Repository.Domain
{
///
/// 组织表
///
[Table("Org")]
[SugarTable("Org")]
public partial class SysOrg : TreeEntity
{
public SysOrg()
{
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;
}
///
/// 热键
///
[Description("热键")]
public string HotKey { get; set; }
///
/// 是否叶子节点
///
[Description("是否叶子节点")]
public bool IsLeaf { get; set; }
///
/// 是否自动展开
///
[Description("是否自动展开")]
public bool IsAutoExpand { get; set; }
///
/// 节点图标文件名称
///
[Description("节点图标文件名称")]
public string IconName { get; set; }
///
/// 当前状态
///
[Description("当前状态")]
public int Status { get; set; }
///
/// 业务对照码
///
[Description("业务对照码")]
public string BizCode { get; set; }
///
/// 自定义扩展码
///
[Description("自定义扩展码")]
public string CustomCode { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
///
/// 创建人ID
///
[Description("创建人ID")]
public int CreateId { get; set; }
///
/// 排序号
///
[Description("排序号")]
public int SortNo { get; set; }
///
/// 分类名称
///
[Description("分类名称")]
public string TypeName { get; set; }
///
/// 分类ID
///
[Description("分类ID")]
public string TypeId { get; set; }
///
/// 负责人ID
///
[Description("负责人ID")]
public string ChairmanId { get; set; }
}
}