using APT.BaseData.Domain.Entities.FM;
using System;
using System.Collections.Generic;
using System.Text;

namespace APT.BaseData.Domain.ApiModel
{
	public class ExtMesInvokeModel
	{
		public ExtMesInvokeModel()
		{
			this.Details = new List<ExtMesInvokeDetailModel>();
            this.IsCheckMesActive = true;

        }

		/// <summary>
		/// 连接参数
		/// </summary>
		public ExtConnParamModel ConnParam { get; set; }


		public List<ExtMesInvokeDetailModel> Details { get; set; }

        public bool IsCheckMesActive { get; set; }
    }


	public class ExtMesInvokeDetailModel
	{
		public ExtMesInvokeDetailModel()
		{
			this.Params = new Dictionary<string, object>(); 
			this.ID = Guid.NewGuid();
		}
		public Guid ID { get; set; }

		/// <summary>
		/// 调用函数名称
		/// </summary>
		public string FuncName { get; set; }

		 

		/// <summary>
		/// 参数
		/// </summary>
		public Dictionary<string, object> Params { get; set; }

		 

		/// <summary>
		/// 事务
		/// </summary>
		public T_FM_EXT_CONN_TRANS Trans { get; set; }

		/// <summary>
		/// 日志
		/// </summary>
		public T_FM_EXT_CONN_LOG Log { get; set; }

		 

	}

}
