using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace APT.BaseData.Domain.ApiModel.FM
{
	public class EntityModel
	{
		public EntityModel()
		{
			this.ID = Guid.NewGuid();
		}
		public Guid ID { get; set; }
		/// <summary>
		/// 显示名称
		/// </summary>
		public string Label { get; set; }

		/// <summary>
		/// 实体或者表名称
		/// </summary>
		public string EntityName { get; set; }
		/// <summary>
		/// 所属模块
		/// </summary>
		public int ModuleType { get; set; }
	}


	public class EntityFieldModel
	{
		public EntityFieldModel()
		{
			//this.ID = Guid.NewGuid(); 
		}
		public string ID { get; set; }

		/// <summary>
		/// 字段类型 EntityFieldTypeEnum
		/// </summary>
		public int FieldType { get; set; }

		/// <summary>
		/// 显示名称
		/// </summary>
		public string Label { get; set; }

		/// <summary>
		/// 字段名称
		/// </summary>
		public string Field { get; set; }

		public string NavField { get; set; }
		/// <summary>
		/// 用于配置图片的字段类型（树/表)PFFieldTypeEnum
		/// </summary>
		public int FIELD_TYPE { get; set; }
		/// <summary>
		/// 字段类型名称
		/// </summary>
		public string FieldTypeName { get; set; }

		/// <summary>
		/// 字段实体或者表名称
		/// </summary>
		public string FieldEntityName { get; set; }


		/// <summary>
		/// 字段信息
		/// </summary>
		public string FieldInfo { get; set; }

	}
}
