添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using JNPF.DependencyInjection;
namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
/// <summary>
/// 获取文档列表.
/// </summary>
[SuppressSniffer]
public class DocumentPreviewListOutput
{
/// <summary>
/// 文件名称.
/// </summary>
public string? fileName { get; set; }
/// <summary>
/// 文件大小.
/// </summary>
public string? fileSize { get; set; }
/// <summary>
/// 主键id .
/// </summary>
public string? fileId { get; set; }
/// <summary>
/// 修改时间.
/// </summary>
public string? fileTime { get; set; }
/// <summary>
/// 文件类型.
/// </summary>
public string? fileType { get; set; }
}

View File

@@ -0,0 +1,51 @@
using JNPF.DependencyInjection;
namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
/// <summary>
/// 预览文档.
/// </summary>
[SuppressSniffer]
public class DocumentPreviewPreviewInput
{
/// <summary>
/// 文件id.
/// </summary>
public string? fileId { get; set; }
/// <summary>
/// 是否强制重新转换(忽略缓存),true为强制重新转换false为不强制重新转换.
/// </summary>
public bool noCache { get; set; }
/// <summary>
/// 针对单文档设置水印内容.
/// </summary>
public string? watermark { get; set; }
/// <summary>
/// 0否1是默认为0。针对单文档设置是否防复制.
/// </summary>
public int isCopy{ get; set; }
/// <summary>
/// 开始位置.
/// </summary>
public string? pageStart { get; set; }
/// <summary>
/// 结束位置.
/// </summary>
public string? pageEnd { get; set; }
/// <summary>
/// 类型.
/// </summary>
public string? type { get; set; }
/// <summary>
/// 预览方式localPreview本地yozoOnlinePreview在线.
/// </summary>
public string? previewType { get; set; }
}

View File

@@ -0,0 +1,21 @@
using JNPF.DependencyInjection;
namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
/// <summary>
/// 预览文档.
/// </summary>
[SuppressSniffer]
public class DocumentPreviewPreviewOutput
{
/// <summary>
/// 文件名称.
/// </summary>
public string? fileName { get; set; }
/// <summary>
/// 文件路径.
/// </summary>
public string? filePath { get; set; }
}