添加项目文件。

This commit is contained in:
2025-12-02 13:10:10 +08:00
parent 93a2382a16
commit 289aa4cbe7
400 changed files with 91177 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
namespace Atomx.Common.Configuration
{
public class UploadConfig
{
/// <summary>
/// 图片文件访问域名
/// </summary>
public string ImageDomain { get; set; } = string.Empty;
/// <summary>
/// 上传图片最大限制
/// </summary>
public int ImageMaxSize { get; set; }
/// <summary>
/// 上传文件最大限制
/// </summary>
public int FileMaxSize { get; set; }
/// <summary>
/// 允许上传图片类型
/// </summary>
public string ImageTypes { get; set; } = string.Empty;
/// <summary>
/// 允许上传文件类型
/// </summary>
public string FileTypes { get; set; } = string.Empty;
/// <summary>
/// 远程图片是否自动保存
/// </summary>
public bool RemoteAutoDownloadSave { get; set; }
/// <summary>
/// 启用云对象存储
/// </summary>
public bool StorageServiceEnabled { get; set; }
}
}