You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
437 B
22 lines
437 B
5 days ago
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 文件上传配置选项
|
||
|
/// </summary>
|
||
|
public sealed class UploadOptions : IConfigurableOptions
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 路径
|
||
|
/// </summary>
|
||
|
public string Path { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 大小
|
||
|
/// </summary>
|
||
|
public long MaxSize { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 上传格式
|
||
|
/// </summary>
|
||
|
public List<string> ContentType { get; set; }
|
||
|
}
|