using HybirdFrameworkCore.Entity;
namespace Entity.Dto.Req
{
public class FileReq : BaseIdReq
{
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 文件Url
///
public string? Url { get; set; }
}
public class PageFileReq : QueryPageModel
{
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 开始时间
///
public DateTime? StartTime { get; set; }
///
/// 结束时间
///
public DateTime? EndTime { get; set; }
}
public class DeleteFileReq : BaseIdReq
{
}
public class UploadFileFromBase64Req
{
///
/// 文件内容
///
public string FileDataBase64 { get; set; }
///
/// 文件类型( "image/jpeg",)
///
public string ContentType { get; set; }
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 保存路径
///
public string Path { get; set; }
}
}