using APT.Infrastructure.Core;
using APT.Infrastructure.Utility;
using System;
using APT.Infrastructure.Api;
namespace APT.BaseData.Domain.Entities.FM
{
	/// <summary>
	/// 用户自定义配置  查询字段
	/// </summary>
	[Redis("NUM")]
	[APT.Infrastructure.Api.RootOrg]
	[IgnoreT4]public class T_FM_USER_C_C_QUERY_FIELD : MesEntityBase
	{
		/// <summary>
		/// 
		/// </summary>
		public T_FM_USER_C_C_QUERY_FIELD()
		{
			IS_DEFAULT_QUERY = true;
			IS_DEFAULT_SHOW = true;
			IS_CUSTOM = false;
			CASE = 0;
			IS_SYS_PARAM = false;
			IS_REQUIRE = false;
		}
		/// <summary>
		/// 字段类型
		/// </summary>
		[EnumName("FMUserCCQueryFieldTypeEnum")]
		public int FEILD_TYPE { get; set; }

		/// <summary>
		/// 是否是系统查询
		/// </summary>
		public bool IS_SYS_QUERY_FIELD { get; set; }


		public Guid USER_C_C_QUERY_ID { get; set; }

		/// <summary>编码</summary>
		public string CODE { get; set; }
		/// <summary>
		/// 字段名称
		/// </summary>
		public string QUERY_NAME { get; set; }
		/// <summary>
		/// 显示名称
		/// </summary>
		public string LABEL { get; set; }


		public Guid? USER_C_C_QUERY_GROUP_ID { get; set; }


		/// <summary>
		/// 数据类型
		/// </summary>
		[EnumName("PFDataTypeEnum")]
		public int DATA_TYPE { get; set; }
		/// <summary>
		/// 是否默认查询字段
		/// </summary>
		public bool IS_DEFAULT_QUERY { get; set; }

		/// <summary>
		/// 是否自定义字段
		/// </summary>
		public bool IS_CUSTOM { get; set; }


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

		/// <summary>
		/// 是否默认显示字段
		/// </summary>
		public bool IS_DEFAULT_SHOW { get; set; }
		/// <summary>
		/// 条件默认值
		/// </summary>
		public string OP_DEFAULT { get; set; }
		/// <summary>
		/// 数值范围 
		/// </summary>
		public string DATA_VALUE { get; set; }

		/// <summary>枚举名称</summary>
		public string ENUM_NAME { get; set; }
		/// <summary>
		/// 顺序 
		/// </summary>
		public int NUM { get; set; }
		/// <summary>
		/// 大小写 
		/// </summary>
		[EnumName("FMCaseProcEnum")]
		public int? CASE { get; set; }
		/// <summary>
		/// 是否必填
		/// </summary>
		public bool? IS_REQUIRE { get; set; }

		public virtual T_FM_USER_C_C_QUERY Nav_UserCCQuery { get; set; }

		public virtual T_FM_USER_C_C_QUERY_GROUP Nav_UserCCQueryGroup { get; set; }
	}
}
