using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IBKLinker_Minio.Entity.MinioController
{
///
/// 文件上传前端发送model
///
public class FileUploadInputModel
{
///
/// 文件流数据
///
public string[] FileData { get; set; }
///
/// 存储路径
///
public string StoragePath { get; set; }
///
/// 文件类型
///
public string[] FileType { get; set; }
}
///
/// 文件夹创建前端发送model
///
public class CreateFolderInputModel
{
///
/// 子文件夹的父ID
///
public int Upk { get; set; }
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 文件类型
///
public int FileType { get; set; }
///
/// 文件路径
///
public string FilePath { get; set; }
///
/// 创建者
///
public string CreatorUser { get; set; }
}
///
/// 文件夹或文件删除前端发送model
///
public class RemoveFolderInputModel
{
///
/// 路径
///
public string Path { get; set; }
///
/// 删除类型 0文件夹删除 1文件删除
///
public string Type { get; set; }
}
///
/// 文件下载前端发送model
///
public class DownloadFileModel
{
///
/// 路径
///
public string FileName { get; set; }
///
/// 删除类型 0文件夹删除 1文件删除
///
public string Pk { get; set; }
}
}