using APT.Infrastructure.Core;
using APT.Infrastructure.Utility;
using System;
using System.ComponentModel;

namespace APT.BaseData.Domain.Entities
{
    /// <summary>
    /// 表自定义参数
    /// </summary> 
    [Redis("PAGE_TABLE_ID")]
    [APT.Infrastructure.Api.RootOrg]
    [IgnoreT4] public partial class T_PF_TABLE_PARAMS : MesEntityBase
    {
		public T_PF_TABLE_PARAMS()
		{
			this.IS_SYS_PARAM = false;
		}

		/// <summary>
		/// ECM_T_PAGE_TABLE的ID
		/// </summary>
		public Guid PAGE_TABLE_ID { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        public string FIELD_NAME { get; set; }
        /// <summary>
        /// 判断条件
        /// </summary>
		[EnumName("PFOperateTypeEnum")]
        public int OPERATION { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public string VALUE { get; set; }
        /// <summary>
        /// 是否自定义字段
        /// </summary>
        public bool IS_CUSTOM { get; set; }

		/// <summary>
		/// 是否是系统参数
		/// </summary>
		public bool? IS_SYS_PARAM { get; set; }

		public virtual T_PF_PAGE_TABLE Nav_PageTable { get; set; }
        [Description("源ID")]
        public Guid? SRC_ID { get; set; }

    }
}
