feat: add fnOS packaging, storage workflows and release pipeline

This commit is contained in:
2026-08-11 18:05:49 +08:00
parent c5922f9b08
commit 95932f0199
181 changed files with 24024 additions and 1164 deletions
+42
View File
@@ -0,0 +1,42 @@
using dy.net.model.dto;
using SqlSugar;
namespace dy.net.model.entity
{
[SugarTable(TableName = "dy_email_notification_settings")]
public sealed class EmailNotificationSettings
{
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string Id { get; set; } = "default";
public bool Enabled { get; set; }
[SugarColumn(Length = 500, IsNullable = true)]
public string Host { get; set; }
public int Port { get; set; } = 465;
public EmailSecurityMode SecurityMode { get; set; } = EmailSecurityMode.SslOnConnect;
[SugarColumn(Length = 500, IsNullable = true)]
public string UserName { get; set; }
[SugarColumn(Length = -1, IsNullable = true)]
public string ProtectedPassword { get; set; }
[SugarColumn(Length = 500, IsNullable = true)]
public string FromAddress { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string FromName { get; set; }
[SugarColumn(Length = 4000, IsNullable = true)]
public string Recipients { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? LastTestedAt { get; set; }
[SugarColumn(Length = 1000, IsNullable = true)]
public string LastTestMessage { get; set; }
}
}