You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace IBKLinker_Minio.Entity.MinioController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件上传前端发送model
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class FileUploadInputModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件流数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string[] FileData { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 存储路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StoragePath { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string[] FileType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件夹创建前端发送model
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CreateFolderInputModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 子文件夹的父ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Upk { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FileType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建者
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreatorUser { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件夹或文件删除前端发送model
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RemoveFolderInputModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除类型 0文件夹删除 1文件删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件下载前端发送model
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DownloadFileModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除类型 0文件夹删除 1文件删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Pk { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|