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

52 lines
1.2 KiB
C#

namespace DS.Module.PrintModule
{
/// <summary>
/// Json打印请求数据
/// </summary>
public class OpenJsonPrintReq
{
/// <summary>
/// 模板Id
/// </summary>
public long TemplateId { get; set; }
/// <summary>
/// Json数据
/// </summary>
public string JsonDataStr { get; set; }
/// <summary>
/// 打印类型 1. PDF 2.EXCEL 3.WORD
/// </summary>
7 months ago
public string PrintType { get; set; } = "1";
}
/// <summary>
/// Json打印请求数据
/// </summary>
public class OpenPrintReq
{
public long TenantId { get; set; }
/// <summary>
/// 模板Id
/// </summary>
public long? TemplateId { get; set; }
/// <summary>
/// 模板代码
/// </summary>
public string? TemplateCode { get; set; }
/// <summary>
/// 查询语句SQL参数
/// </summary>
public string ParamJsonStr { get; set; } = string.Empty;
/// <summary>
/// 打印类型 1. PDF 2.EXCEL 3.WORD
/// </summary>
public string PrintType { get; set; } = "1";
}
}