using APT.Infrastructure.Core;
using APT.Infrastructure.Utility;
using System;
using System.ComponentModel;
namespace APT.BaseData.Domain.Entities
{
    [Redis("PAGE_TREE_ID", "ID")]
    [APT.Infrastructure.Api.RootOrg]
    [IgnoreT4] public partial class T_PF_TREE_COLUMN : MesEntityBase
    {
        /// <summary>
        /// 表ID字段
        /// </summary>
        public Guid PAGE_TREE_ID { get; set; }
        /// <summary>
        /// 字段名称（表字段，可导航属性，关联表的字段，如：Nav_Creater.NAME)
        /// </summary>
        public string FIELD_NAME { get; set; }

        /// <summary>
        /// 格式化
        /// </summary>
        public string FORMAT { get; set; }
       
        /// <summary>
        /// 查询格式化
        /// </summary>
        public string QUERY_FORMAT { get; set; }

        /// <summary>
        /// 级联显示级数
        /// </summary>
        public int INPUT_DATA_LEVEL { get; set; }

        /// <summary>
        /// 枚举名称
        /// </summary>
        public string ENUM { get; set; }
        /// <summary>
        /// 顺序 
        /// </summary>
        public int NUM { get; set; }
        [Description("导航属性:编辑页面")]
        /// <summary>
        /// 导航属性：树形页面
        /// </summary>
        public virtual T_PF_PAGE_TREE Nav_PageTree { get; set; }
        [Description("源ID")]
        public Guid? SRC_ID { get; set; }
    }
}
