first commot
This commit is contained in:
8
Service/AppSettingModel/AISettings.cs
Normal file
8
Service/AppSettingModel/AISettings.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Service.AppSettingModel;
|
||||
|
||||
public class AISettings
|
||||
{
|
||||
public string Endpoint { get; set; } = string.Empty;
|
||||
public string Key { get; set; } = string.Empty;
|
||||
public string Model { get; set; } = string.Empty;
|
||||
}
|
||||
14
Service/AppSettingModel/EmailConfigItem.cs
Normal file
14
Service/AppSettingModel/EmailConfigItem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Service.AppSettingModel;
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱配置项
|
||||
/// </summary>
|
||||
public class EmailConfigItem
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public string ImapHost { get; set; } = string.Empty;
|
||||
public int ImapPort { get; set; } = 993;
|
||||
public bool UseSsl { get; set; } = true;
|
||||
}
|
||||
11
Service/AppSettingModel/EmailSettings.cs
Normal file
11
Service/AppSettingModel/EmailSettings.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Service.AppSettingModel;
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱设置配置
|
||||
/// </summary>
|
||||
public class EmailSettings
|
||||
{
|
||||
public int CheckIntervalMinutes { get; set; } = 1;
|
||||
public EmailConfigItem[] SmtpList { get; set; } = [];
|
||||
public string[] FilterFromAddresses { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user