using System.Collections.Generic;
namespace WalkingTec.Mvvm.Core.ConfigOptions
{
///
/// FileOptions
///
public class FileUploadOptions
{
///
/// 文件保存位置
///
public string SaveFileMode { get; set; }
///
/// 上传文件限制 单位字节 默认 20 * 1024 * 1024 = 20971520 bytes
///
public long UploadLimit { get; set; } = 20971520;
public Dictionary> Settings { get; set; }
}
public class FileHandlerOptions
{
public string GroupName { get; set; }
public string GroupLocation { get; set; }
public string ServerUrl { get; set; }
public string Key { get; set; }
public string Secret { get; set; }
}
}