using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
using SqlSugar;
namespace OpenAuth.Repository.Domain
{
///
/// 组织表
///
[SugarTable("sys_org")]
public partial class SysOrg : TreeEntity
{
///
/// 节点图标文件名称
///
[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 long CreateId { get; set; }
///
/// 排序号
///
[Description("排序号")]
public int SortNo { get; set; }
public long PosGroupId { get; set; }
///
/// 等级
///
public int Level { get; set; }
[SugarColumn(IsIgnore = true)]
public List Children { get; set; }
//[Navigate(NavigateType.OneToOne, nameof(ParentId))]
//public SysOrg Parent { get; set; }
}
}