using APT.Infrastructure.Core;
using APT.Infrastructure.Utility;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace APT.BaseData.Domain.Entities
{
    /// 
    /// 表单查询配置
    /// 
    [Redis("PAGE_FORM_ID", "ID", "CODE")]
    [APT.Infrastructure.Api.RootOrg]
    [IgnoreT4]
    public class T_PF_FORM_QUERY : MesEntityBase
    {
        public T_PF_FORM_QUERY()
        {
            this.INPUT_FILTER_ORG_TYPE = 0;
        }
        /// 编码
        public string CODE { get; set; }
        /// 
        /// 显示名称
        /// 
        public string LABEL { get; set; }
        /// 
        /// 查询显示类型
        /// 
        [EnumName("PFFormQueryShowTypeEnum")]
        public int FORM_QUERY_SHOW_TYPE { get; set; }
        [Description("表名")]
        public string TABLE_NAME { get; set; }
        /// 
        /// 窗体ID
        /// 
        public Guid? PAGE_FORM_ID { get; set; }
        /// 
        /// 共享Key值,用于不同页面间的查询条件共享
        /// 
        public string SHARE_KEY { get; set; }
        /// 
        /// 是否记忆查询条件
        /// 
        public bool IS_REMEMBER { get; set; }
        /// 
        /// 索引
        /// 
        public int NUM { get; set; }
        /// 
        /// 过滤组织类型
        /// 
        [EnumName("PFFilterOrgTypeEnum")]
        public int? INPUT_FILTER_ORG_TYPE { get; set; }
        /// 
        /// 窗体
        /// 
        public virtual T_PF_FORM Nav_PageForm { get; set; }
        public virtual ICollection Nav_Querys { get; set; }
        [Description("源ID")]
        public Guid? SRC_ID { get; set; }
    }
}