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

namespace APT.BaseData.Domain.Entities
{
	[Redis("COLUMN_ID")]
	[APT.Infrastructure.Api.RootOrg]
	[IgnoreT4] public class T_PF_COLUMN_FILTER : MesEntityBase
	{
		/// <summary>
		/// T_PF_COLUMN的ID
		/// </summary>
		public Guid COLUMN_ID { get; set; }
		/// <summary>
		/// 表名
		/// </summary>
		public string FIELD_NAME { get; set; }
		/// <summary>
		/// 判断条件
		/// </summary>
		public int OPERATION { get; set; }
		/// <summary>
		/// 值
		/// </summary>
		public string VALUE { get; set; }
		/// <summary>
		/// 是否自定义字段
		/// </summary>
		public bool IS_CUSTOM { get; set; }

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