UploadOptions.cs 580 B

1234567891011121314151617181920212223242526
  1. using Furion.ConfigurableOptions;
  2. using System.Collections.Generic;
  3. namespace Admin.NET.Core
  4. {
  5. /// <summary>
  6. /// 文件上传配置选项
  7. /// </summary>
  8. public sealed class UploadOptions : IConfigurableOptions
  9. {
  10. /// <summary>
  11. /// 路径
  12. /// </summary>
  13. public string Path { get; set; }
  14. /// <summary>
  15. /// 大小
  16. /// </summary>
  17. public long MaxSize { get; set; }
  18. /// <summary>
  19. /// 上传格式
  20. /// </summary>
  21. public List<string> ContentType { get; set; }
  22. }
  23. }