using Furion.DatabaseAccessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiTools.Core
{
///
/// 短信配置
///
public class SmsSetting : CommonEntity
{
public SmsSetting()
{
Accesses = [];
}
///
/// 渠道Id
///
public Guid? ChannelId { get; set; }
///
/// 渠道
///
public Channel Channel { get; set; }
///
/// 是否禁用
///
public bool IsDisabled { get; set; }
///
/// 带出参数
///
public bool WithoutParams { get; set; }
///
/// 每分钟最大数量
///
public int MinutelyMaxCount { get; set; }
///
/// 每小时最大数量
///
public int HourlyMaxCount { get; set; }
///
/// 每天最大数量
///
public int DailyMaxCount { get; set; }
///
/// 通道配置
///
public List Accesses { get; set; }
}
}