You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.3 KiB

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