using APT.Infrastructure.Core;
using APT.BaseData.Domain.ApiModel;
using APT.BaseData.Domain.Entities;
using APT.BaseData.Domain.Enums;
using System;
using APT.Infrastructure.Api;
namespace APT.BaseData.Domain.IServices.FM
{
    public interface IExtConnConfigService : ICommonService
	{
		/// <summary>
		/// 获取外部连接配置参数
		/// </summary>
		/// <param name="orgId"></param>
		/// <param name="destType"></param>
		/// <param name="connType"></param>
		/// <returns></returns>
		ExtConnParamModel GetConfigParam(Guid orgId, FMExtConnDestTypeEnum destType, FMExtConnTypeEnum connType);

        /// <summary>
        /// 获取外部链接参数配置
        /// </summary>
        /// <param name="orgId">组织ID</param>
        /// <param name="code">编码</param>
        /// <returns></returns>
        ExtConnParamModel GetConfigParam(Guid orgId, string code);

    }
}
