ComplianceServer/code/Hg.Core.Domain/Dto/AICallTaskConfig.cs

147 lines
4.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hg.Core.Domain.Dto
{
internal class AICallTaskConfig
{
/// <summary>
/// 订单外呼起始时间
/// </summary>
public DateTime StartTime { get; set; } = DateTime.Parse("2021-12-01");
/// <summary>
/// 仅呼叫近几天支付的订单
/// </summary>
public int CallDay { get; set; } = 7;
public List<int> ReCallStatus { get; set; }
/// <summary>
/// //优先级别1-紧急 2-优先
/// </summary>
public string Priority { get; set; } = "2";
/// <summary>
/// 最小订单金额
/// </summary>
public decimal MinAmount { get; set; } = 1m;
public List<int> ReCallMins { get; set; }
/// <summary>
/// 同人检查时间,分钟
/// </summary>
public int SameUserCheckTimeSpanMin { get; set; } = 1;
/// <summary>
/// 呼叫忽略配置
/// </summary>
public List<HitConfig> IgnoreHitConfigs { get; set; } = new List<HitConfig>();
/// <summary>
/// 呼叫话术
/// </summary>
public ProposProductConfig proposProductConfig { get; set; } = new ProposProductConfig();
/// <summary>
/// 是否发短信1 0不发
/// </summary>
public int Sms { get; set; }
/// <summary>
/// 发短信多久后外呼,分钟
/// </summary>
public int SmsExprieMinCall { get; set; } = 1;
public string Robot { get; set; }
public string CallNo { get; set; }
public string AppId { get; set; }
public string RobotName { get; set; }
public string Remark { get; set; }
/// <summary>
/// 允许外拨时间段
/// </summary>
public string HgrecordStime { get; set; }
/// <summary>
/// 允许外拨时间段
/// </summary>
public string HgrecordEtime { get; set; }
/// <summary>
/// 白名单
/// </summary>
public List<string> WhiteList { get; set; } = new List<string>();
}
public class HitConfig
{
/// <summary>
/// key
/// </summary>
public string HitKey { get; set; } = "Channel";
/// <summary>
/// 包含
/// </summary>
public List<string> Contain { get; set; }
/// <summary>
/// 不包含
/// </summary>
public List<string> NoContain { get; set; }
}
/// <summary>
/// Channel 为范围,|连接左右包含如1000|2000
/// </summary>
public enum HitKey { Channel, Subproductid, Resid }
/// <summary>
/// 渠道范围
/// </summary>
public class ChannelItem
{
public int Min { get; set; }
public int Max { get; set; }
}
/// <summary>
/// 话术模板配置
/// </summary>
public class ProposProductConfig
{
/// <summary>
/// 单个订单配置
/// </summary>
public string OneTemplate { get; set; } = "请问您购买的产品是@Subproductname购买期限是【#OpenDays】天@GiftExp您本次支付的订单金额是【#Arrivalpay】元对吗";
/// <summary>
/// 多个订单配置
/// </summary>
public string MultipleTemplate { get; set; } = "请问您购买的产品是@Subproductname其中@PayExp您本次支付的订单金额是【#Arrivalpay】元对吗";
/// <summary>
/// 产品名称配置
/// </summary>
public string Subproductname { get; set; } = "【#Subproductname】";
/// <summary>
/// 支付信息配置
/// </summary>
public string PayExp { get; set; } = "@Subproductname购买期限是【#OpenDays】天@GiftExp";
/// <summary>
/// 过期时间配置
/// </summary>
public string GiftExp { get; set; } = ",赠送期限是【#OpenDays】天,";
}
public class AiStatus
{
public string Text { get; set; }
public int Value { get; set; }
}
}