using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
///
/// 邮件账户配置
///
public interface IEmailUserAccountService
{
///
/// 保存邮件账户配置
///
/// 邮件账户配置信息
/// 返回回执
Task Save(EmailUserAccountDto info);
///
/// 获取邮件账户配置表详情
///
/// 邮件账户配置主键
/// 返回回执
Task GetInfo(string gid);
///
/// 删除
///
/// 邮件账户配置主键数组
/// 返回回执
Task Delete(string[] gIds);
///
/// 邮件账户配置台账查询
///
/// 邮件账户配置台账查询请求
/// 返回结果
Task> GetPageAsync(QueryEmailUserAccountDto QuerySearch);
///
/// 检索邮件解析配置
///
/// 检索条件
/// 返回记录最大条数(可以根据需要自助设定)
///
Task QueryEmailParserConfigList(string queryItem, int topNum = 10);
}
}