using APT.Infrastructure.Core;
using APT.Infrastructure.Utility;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace APT.BaseData.Domain.Entities
{
    /// 表单
	[Redis("ID","ID", "CODE")]
    [APT.Infrastructure.Api.RootOrg]
    [IgnoreT4]
    public partial class T_PF_FORM : MesEntityBase
    {
        /// 构造函数
        public T_PF_FORM()
        {
        }
        /// 编码
        [Description("编码")]
        public string CODE { get; set; }
        /// 名称
        [Description("名称")]
        [AcronymField("NAME_ACRONYM")]
        public string NAME { get; set; }
        /// 
        /// 名称首字母缩写
        /// 
        [Description("名称首字母缩写")]
        public string NAME_ACRONYM { get; set; }
        /// 平台类型
        /// PFPlatTypeEnum
        /// 
        [Description("平台类型")]
        public int PLATFORM_TYPE { get; set; }
        /// 表单类型 0-列表表单 1-编辑表单 2-tree表单    99-自定义表单
        /// PFFormTypeEnum 
        /// 
        [Description("表单类型")]
        public int FORM_TYPE { get; set; }
        /// 模块类型
        /// PFModuleTypeEnum
        /// 
        [Description("模块类型")]
        public int MODULE_TYPE { get; set; }
        /// 
        /// 地址
        /// 
        [Description("地址")]
        public string URI { get; set; }
        /// 自定义参数 参数名称=参数值  多个参数时以||分割
        [Description("自定义参数")]
        public string CUSTOM_PARAMS { get; set; }
        /// 动态加载JS文件
        [Description("动态加载JS文件")]
        public string JS_FILES { get; set; }
        [Description("启用标志")]
        [EnumName("FMEnableStatusEnum")]
        public int ENABLE_STATUS { get; set; }
        [Description("表名")]
        public string TABLE_NAME { get; set; }
        /// 忽略权限控制
        [Description("忽略权限控制")]
        public bool IS_IGNORE_PERMISSION { get; set; }
        /// 
        /// 授权组织编号
        /// 
        public string AUTH_ORG_CODES { get; set; }
        // public virtual T_FM_USER Nav_Creater { get; set; }
        [Description("备注")]
        public string REMARK { get; set; }
        [Description("源ID")]
        public Guid? SRC_ID { get; set; }
        [Description("平台类别")]
        [FormFieldTable]
        [FormFieldEdit]  
        [EnumName("PFPlatformTypeEnum")]
        public int PLATFORM_CATEGORY { get; set; }
        [Description("导航:首页图表")]
        public ICollection Nav_HomeCharts { get; set; }
        [Description("导航:首页统计")]
        public ICollection Nav_HomeStatistics { get; set; }
        [Description("导航:首页排名")]
        public ICollection Nav_HomeRankings { get; set; }
        [Description("导航:首页HMI")]
        public ICollection Nav_HomeHmis { get; set; }
        [Description("图标")]
        /// 
        /// 图标
        /// 
        public string ICON { get; set; }
    }
}