Files
tnb.server/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewInput.cs
2023-03-13 15:00:34 +08:00

52 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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; }
}