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